Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
In a recent project I used the Nodereference Image helper module in conjunction with Galleria to add even more flexibility for image selection. http://drupal.org/project/noderef_image_helper
This patch adds a new formatter to the galleria.module file that will allow for the use of noderef_image_helper images.
Comment | File | Size | Author |
---|---|---|---|
#2 | galleria_noderef_image_helper_v2.patch | 2.58 KB | chales |
galleria_noderef_image_helper.patch | 1.75 KB | chales |
Comments
Comment #1
miro_dietikerGreat idea!
However, you should either:
- Check for presence of the module and add the handler only if available
- Or move the integration into Noderef Image Helper (which doesn't really make sense to me here)
Comment #2
chales CreditAttribution: chales commentedThanks, I completely forgot to put a check for the module since it's a requirement in my setup.
Here's the updated patch with a module_exists() check and a couple of code comment updates.