how to display image files on a web page
January 26, 2005 10:01 PM Subscribe
Windows Explorer has an option to display all the image files in a folder in "filmstrip" mode, which looks like
this. I want to create a similar method of display on a web page. I figure I'll have to (unfortunately) use frames to create the bottom gallery of thumbnails and have it scroll like that but I would rather not have to create a separate page for each full-size picture. I would rather the page displaying the picture be dynamic and just change the picture rather than refer the browser to a different file. I figure this could be done with some scripting language (PHP?) but I don't know much about that sort of thing. Can anyone help me out? [+]
I do plan on learning how to do this stuff on my own but for what this is going to be used for is something that's likely going to be up for public view before I get the chance to learn this on my own. Searching for scripts that do this just leads me to stuff like Gallery and other things that aren't really what I'm looking for.
posted by DyRE to computers & internet (14 answers total) 1 user marked this as a favorite
display.html?photo464.jpg, in order to displayphoto464.jpgThen, display.html would look something like this:
document.location.search.substring(1)is how you can grab the query string (the part of the URL after the question mark) in javascript.posted by kickingtheground at 10:16 PM on January 26, 2005