jokerbla Posted March 17, 2009 Share Posted March 17, 2009 I'm new with HTML, XML, XSLT, PHP.. I want to create a photo album in HTML. I have all my pictures in one folder, how can I use XML, XSLT or PHP to generate the HTML code, or what am I supposed to write in the HTML to have those pictures displayed. I've been googling for more than an hour and I get more and more confused. So what's the best way to do a photo album in HTML ? Link to comment https://forums.phpfreaks.com/topic/149840-html-page-with-xml-and-xslt-help/ Share on other sites More sharing options...
friedemann_bach Posted March 17, 2009 Share Posted March 17, 2009 A simple way would be to use a PHP script that can scan your photo directory for image files (e.g. by mimetype and extension) and produces an HTML output of clickable photo thumbnails. There should be a lot of solutions available, just google for "php photo album". Link to comment https://forums.phpfreaks.com/topic/149840-html-page-with-xml-and-xslt-help/#findComment-786850 Share on other sites More sharing options...
jlhaslip Posted March 17, 2009 Share Posted March 17, 2009 php code to select and display an Image Gallery can be found here: http://www.jlhaslip.trap17.com/hoverbox/hoverbox.phps It uses the Hoverbox CSS method and will randomize the display based on the count of images you choose. Try it out. Link to comment https://forums.phpfreaks.com/topic/149840-html-page-with-xml-and-xslt-help/#findComment-786864 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.