I recently needed to create a site for a client, who required a number of different gallerias ( different image sizes, some with/without jCarousel integration ), so I hacked around the module. In the attached version :
When in Site Configuration -> Galleria Settings you get a new fieldgroup for each available set of options ( Imagecache , lightbox, jCarousel ).
Each fieldgroup has another fieldgroup embedded into it for each content type available on your installation.
You can then choose for each content type whether to use the default setting or override it with a specific setting.
Example: You can have the default thumbnail imagecache preset to be 100x100, but override it for stories and use a different preset with 160x90
The module cleans up after itself, and does not pollute the place with needless variables. I haven't found any issues with this yet, however this is a polished version so I might have missed something out. Localhost testing suggests that it works fine for both uploads and imagefields, but I might have missed a spot since I only ever use imagefields. You will find attached an archive of the full module (based on the stable version). Hope this helps someone!
Comment | File | Size | Author |
---|---|---|---|
#2 | galleria-settings-per-node.patch | 19.98 KB | hexblot |
galleria-cpct.zip | 30.98 KB | hexblot |
Comments
Comment #1
ericquigley CreditAttribution: ericquigley commentedThis will help me a lot! Thank you. I'm going to install and will let you know if I run into any bugs.
Thanks again!
Comment #2
hexblot CreditAttribution: hexblot commentedAdding patch file as well. This can be applied to both the dev and stable version.
Comment #3
traceelements CreditAttribution: traceelements commentedSubscribing.
Comment #4
mercelz CreditAttribution: mercelz commentedSubscribing.