Jump to content

Recommended Posts

Hi Guys,

 

I want to have a simple gallery on a page. I don't want the script to look for images in a folder and then display them. I want to have code like this bellow:

 

<a href="images/shop/beach.jpg" title="Jolie Myers / The State News" rel="http://portfolio.statenews.com/users/Jolie_Myers/">
			<img src="images/shop/beach.jpg" alt="An attendee of Rabbi Hendel Weingarten's Purim service at Chabad House on Elizabeth Street in East Lansing uses a noisemaker after the name of Haman is read. Purim is a Jewish holiday that celebrates the deliverance of the Jews from an evil plot conceived by Haman, as chronicled in the Megillah, or book of Esther. Rabbi Mordechai Haller read the Megillah to a group including about 15 MSU students who would blot out the name Haman using noisemakers each time it was read." />
		</a>
		<a href="images/shop/beach.jpg" title="Jolie Myers / The State News">
			<img src="images/shop/beach.jpg" alt="Junior wide receiver Terry Love is taken down by Illinois safety Kyle Knezetic September 30 at Spartan Stadium. The Fighting Illini beat the Spartans, 23-20, with a fourth-quarter field goal scored in the last 20 seconds of the game." />
		</a><a href="images/shop/beach.jpg" title="Jolie Myers / The State News" rel="http://portfolio.statenews.com/users/Jolie_Myers/">
			<img src="images/shop/beach.jpg" alt="An attendee of Rabbi Hendel Weingarten's Purim service at Chabad House on Elizabeth Street in East Lansing uses a noisemaker after the name of Haman is read. Purim is a Jewish holiday that celebrates the deliverance of the Jews from an evil plot conceived by Haman, as chronicled in the Megillah, or book of Esther. Rabbi Mordechai Haller read the Megillah to a group including about 15 MSU students who would blot out the name Haman using noisemakers each time it was read." />
		</a>
		<a href="images/shop/beach.jpg" title="Jolie Myers / The State News">
			<img src="images/shop/beach.jpg" alt="Junior wide receiver Terry Love is taken down by Illinois safety Kyle Knezetic September 30 at Spartan Stadium. The Fighting Illini beat the Spartans, 23-20, with a fourth-quarter field goal scored in the last 20 seconds of the game." />
		</a>

 

Now I just want to right code that will just display all these pics on the page. I then click on the next button and the next picture is displayed.

 

If you can help that will be really nice.

 

Thanks

 

Link to comment
https://forums.phpfreaks.com/topic/145189-image-gallery/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.