Is there a way to have different thumbnail sizes for different albums? I'm trying to have my front page albums have large thumbnails and the actual sub-albums to have smaller thumbnails. This was possible with Gallery 2, but I can't seem to figure it out with version 3. Thanks!
Posts: 7994
We don't have a feature to do that in Gallery 3. If there's sufficient demand, we can add it. Please file a feature request, thanks!
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!
Posts: 3
Has this option been implemented yet? I like to use slightly larger thumbnails for albums.
Posts: 128
I too thought that this would be a usefull feature.
The thumbnail size is stored as a site-wide parameter at present. I would think that in the items table for the particular album you could store a value to override that size. It is only needed (I beleive) during the thumnail rebuild. and an interface to set the new value would also be needed.
- get new vaulue for album and store into its entry in items table (mark as dirty)
- update all items (photos) that have album as parent to set thumb-dirty
When rebuilding dirty thumbs:
- get system wide value
- get all album entrys that are dirty
- save desired thumbsize or set default
- process all dirty photo entries using saved thumbsizes
If someone thinks this is not the best way, let me know. Also, any clues about where most of this code belongs would save some time.
Martyn T. Griffin