Picture script
Posted: Sun Dec 15, 2002 12:06 pm
http://dki.mysundown.net/main.php?z=photos.php
I have this little script I use for making my photograph pages for this site. There's a problem though.
I get the pictures, make thumbnails of all the pictures, then upload the pictures to a separate folder in /pictures/, like for that one group of pictures, they're stored in /pictures/misc2002/. I then have to make a new page to display the pictures on, called misc2002.php in this case. I then use a script so that it automatically resizes the window to the image width when the image is opened, like you see. But the problem is that I have to copy/paste this small part of the script over and over for however many pictures there are in that group, and I also have to rename part of that little script so it matches to the directory that the group of pictures is in. Afterward, this ends up being a big hassle.
Is there anyway to just be able to make a new directory called misc2002, upload the pictures and the thumbnails to it, and have it automatically create a new link like the one that says Miscellaneous | 2002? And then when you click that link, it will open misc2002.php which has all of the thumbnails, which you can click and enlarge like they do?
I'm asking because I know that there are picture gallery scripts where you just upload the thumbs/images to the directory and they're automatically put up on the website. Thanks.
I have this little script I use for making my photograph pages for this site. There's a problem though.
I get the pictures, make thumbnails of all the pictures, then upload the pictures to a separate folder in /pictures/, like for that one group of pictures, they're stored in /pictures/misc2002/. I then have to make a new page to display the pictures on, called misc2002.php in this case. I then use a script so that it automatically resizes the window to the image width when the image is opened, like you see. But the problem is that I have to copy/paste this small part of the script over and over for however many pictures there are in that group, and I also have to rename part of that little script so it matches to the directory that the group of pictures is in. Afterward, this ends up being a big hassle.
Is there anyway to just be able to make a new directory called misc2002, upload the pictures and the thumbnails to it, and have it automatically create a new link like the one that says Miscellaneous | 2002? And then when you click that link, it will open misc2002.php which has all of the thumbnails, which you can click and enlarge like they do?
I'm asking because I know that there are picture gallery scripts where you just upload the thumbs/images to the directory and they're automatically put up on the website. Thanks.