Click to See Complete Forum and Search --> : Photo Album


EJMAES1973
11-06-2007, 05:22 PM
Hey, I am looking for something that shows hot to create a photo album by pulling the images from the directory. I thought I saw one on here, but I can't find the thread. Any help would be greatly appreciated.

knowj
11-06-2007, 05:55 PM
http://www.devtek.org/tutorials/image_gallery.php

EJMAES1973
11-06-2007, 07:23 PM
Thank you this is exactly what I am looking for.

bokeh
11-07-2007, 06:07 AM
Here's a really simple one I wrote. (http://bokehman.com/simple-image-gallery/)

EJMAES1973
11-10-2007, 06:39 PM
I like that one too thanks. I am making site for my dad and I want to make this as easy as I can for him. I was wondering if it is possible to just resize the images with the height and width properties instead of creating thumbnail files? All I'm going to have him do is just upload a directory via ftp and then just have the site pull the directory, that way he doesn't have to spend a ton of time resizing photos. Is there anything wrong with doing it this way or would you suggest creating the thumbnail files? or is there an all around better way to approach this?

EJMAES1973
11-10-2007, 09:20 PM
I figured out what I needed to change to get what I want, but if you still have suggestions I'm all ears. Thank you

EJMAES1973
11-10-2007, 09:46 PM
Okay, after playing around a bit I found out that with my little changes and your original code the fullsize images don't display. any ideas?

torrents
11-10-2007, 11:39 PM
I'd like to get one to make an ebaums like funny pic site. as part of my torrent meta search site. So small fast loading thumbnails would be good and no hotlinking script.
Thanks.

bokeh
11-11-2007, 02:28 AM
There are two functions included for resize. The other one maintains the aspect ratio.

EJMAES1973
11-11-2007, 02:59 AM
I just started from scratch without any of my changes, and figured out which part wasn't working. Unless i mess something else up when I'm adding to the page then I got what I want. Thank you for your help. I do however have another quick question. Is there a function in php to just get a list of the sub-folders of a folder?