I'm having trouble finding something. If I can't find it, I could
bumble my way through writing something, but I thought I'd check around
first.
I am looking for a php script or some other software that will build a
dynamic photo gallery without adding or changing my photos, or creating
any static content.
I use Gallery2 for my favorite photos...but I'd like the rest of the
thousands to be available online, and to be available just becuase
they're in the photos folder. I keep my photos in something like
/home/mdg/Photos/2006/whatever ../2006/whateverelse
../2006/whateverthethird and I add them all the time.
I want a script that I could keep at
/home/mdg/public_html/somescript.php or whatever...and point it at my
photo root and have them all be there when I hit the script with my
browser.
So...I know the requirements are pretty specific. But, if anyone knows
anything even close to something like this...I'd love to hear about it.
Thanks,
Matt
>So...I know the requirements are pretty specific. But, if anyone knows
>anything even close to something like this...I'd love to hear about it.
Take a look at the directories in
http://www.walkingoutdoors.co.uk/Geoff/
This probably does a little more than you are asking. I dump the files
and create a couple of writeable directories into the directory I'm
using. The first time the script runs it creates copies of the files
for display. Subsequently, it displays those images without recreating
new ones.
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
I like it. Can I have a peek at the script?
Matt
>> This probably does a little more than you are asking. I dump the files
>> and create a couple of writeable directories into the directory I'm
>> using. The first time the script runs it creates copies of the files
>> for display. Subsequently, it displays those images without recreating
>> new ones.
>
>I like it. Can I have a peek at the script?
OK, it's not particularly pretty because I haven't got around to tidying
it up yet but here ya go.
http://www.walkingoutdoors.co.uk/Geoff/gallery/gallery.zip
Thanks Geoff. I put it up in a test directory and it worked well:
http://themdg.org/photos/fromgroups/Trip/
Maybe i can change it around to suit my needs a bit. If I do, I'll
send you a copy in case you might be interested.
The presentation is great. Maybe I can make it so it's recursive, and
lives outside of the images directory. I have SO many directories that
I'd hate to have a copy of a script in each folder. Yuk.
Thanks again.
Matt in MD
I've written a handful of galleries - some using a database - creating
separate photo packages (folders) - a full administration back-end with
login and uploading one picture at a time - allowing individual captions
- re-ordering, .... links back to an index of photo packages (folders), ....
Lately, I like the simple method like you've used. FTP a bunch of photos
and the php script files to display them. Your method is very straight
forward and the display sweet in it's simplicity. You've given me some
ideas for improving mine now, too. Thanks for sharing.
--
*****************************
Chuck Anderson • Boulder, CO
http://www.CycleTourist.com
*****************************
>> OK, it's not particularly pretty because I haven't got around to tidying
>> it up yet but here ya go.
>> http://www.walkingoutdoors.co.uk/Geoff/gallery/gallery.zip
>>
>>
>Very sweet and to the point.
>
>I've written a handful of galleries - some using a database - creating
>separate photo packages (folders) - a full administration back-end with
>login and uploading one picture at a time - allowing individual captions
>- re-ordering, .... links back to an index of photo packages (folders), ....
>
>Lately, I like the simple method like you've used. FTP a bunch of photos
>and the php script files to display them. Your method is very straight
>forward and the display sweet in it's simplicity. You've given me some
>ideas for improving mine now, too. Thanks for sharing.
That's what open source is all about :-)
Thank you for your kind comments.
the only drawback about doing it this way is that the reduced size
display images are only created when they are viewed for the first time.
This makes the first viewing rather slow, especially if the source
images are large. As I have a six megapixel camera, I tend to batch
reduce the picture in size prior to uploading (I upload pics from my
phone as they are.) I leave final reduction to the software.
I'm thinking of adding a link to the large image if I can do it without
losing the simplicity.