abch624 Posted February 14, 2009 Share Posted February 14, 2009 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 Quote Link to comment https://forums.phpfreaks.com/topic/145189-image-gallery/ Share on other sites More sharing options...
DeanWhitehouse Posted February 14, 2009 Share Posted February 14, 2009 I wrote an image gallery code which might help http://djw-webdesign.awardspace.com/code.php?snippet=15 Quote Link to comment https://forums.phpfreaks.com/topic/145189-image-gallery/#findComment-762098 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.