Here's a feature I'd love to see in Gallery: allowing visitors to dynamically resize pictures to pre-defined resolutions other than the "intermediate" and "full" resolutions that Gallery currently provides. For example, being able to resize pictures to 800x600, 1024x768, etc. This is implemented in the photo album software I'm currently using (the author's demo site is <!-- BBCode Start --><A HREF="http://www.fuzzymonkey.org/newfuzzy/software/cgi-bin/photo/index.cgi" TARGET="_blank">here</A><!-- BBCode End -->), and seeing this in Gallery would make switching over to Gallery even more appealing (though it's already pretty appealing...). The photo album software that I linked to basically creates resized images on the fly the first time visitors request them (and caches them afterwards).
Posts: 3474
Gallery 2 already has multiple sizes implemented :smile:
So it's on its way..........
-Beckett (
)
Posts: 105
One thing that I think would be very handy would be a resize option in the gallery configuration for when pictures are uploaded.
For example, I have setup quite a few galleries for friends/family/business associates/etc., but I would like to have limitations on some of them (as they are hosted on my own server).
Sometimes people upload pictures that are 1600x1200 (or larger), and it starts to eat up quite a bit of server space on the bigger galleries. It would be nice to have a configuration option during the gallery setup that allows you to set maximum size, such as 640x480. That way, if anyone uploads images that are larger than the specified size, they are automatically resized upon uploading.
I completely love the gallery software, but this one option would cut down alot of my administrative duties on the galleries I host, and I would assume it would help out alot of other people as well.
Are there any plans for an option such as this in a future release?
Posts: 3474
Hi. I'm not sure whether this will make it into a release anytime soon.
Anyhow, try killerblade's code in <!-- BBCode Start --><A HREF="http://gallery.sf.net/forums.php?topic=824" TARGET="_blank">this thread</A><!-- BBCode End -->. It resizes on upload, invisibly, so you could, say, have every file larger than 640x480 (or 480x640) shrunk down. I have some code in there that will take care of your existing photos by converting them retroactively. There's also a bit of code in <!-- BBCode Start --><A HREF="http://gallery.sf.net/forums.php?topic=2308" TARGET="_blank">this thread</A><!-- BBCode End --> (the "companion" thread to the previous one) to modify killerblade's code to preserve EXIF data, if that's important to you.
Good luck,
-Beckett (
)