Georgezx9 Posted November 10, 2014 Share Posted November 10, 2014 Hi all again!. In chapter 11, what is the easiest way to make the clickable list of photos, a set of clickable images of the photo. Thanks Link to comment Share on other sites More sharing options...
HartleySan Posted November 11, 2014 Share Posted November 11, 2014 How exactly do you want it to function? Link to comment Share on other sites More sharing options...
Georgezx9 Posted November 15, 2014 Author Share Posted November 15, 2014 At the moment the routine in the book, allows us to see the photos in the folder, and these are the photo filename, shown as a text link, which we click on to open the image. What I would like to do is see these photos as a thumbnail, where I can click them to see the full size image. Thanks Link to comment Share on other sites More sharing options...
HartleySan Posted November 15, 2014 Share Posted November 15, 2014 Use the PHP scandir function to scan a directory, pull out the files you want, and then use img tags surrounded by a tags to create images that can open another page when they're clicked on. After that, it's using CSS and whatnot to customize the page as you desire. 1 Link to comment Share on other sites More sharing options...
Recommended Posts