Download & Extend

Patch to use Nodereference Image helper with Galleria

Project:Galleria
Version:6.x-1.0
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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.

AttachmentSize
galleria_noderef_image_helper.patch1.75 KB

Comments

#1

Great 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)

#2

Thanks, 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.

AttachmentSize
galleria_noderef_image_helper_v2.patch 2.58 KB
nobody click here