First of all, very nice job on this module. I'm not sure if what I'm trying to do is theme-related or requires additional module code but I'd like to provide a link on both the Lightbox view and the node view to access the original photo file for downloading purposes. Is this currently possible? If not, what would I need to change to add this functionality? Thanks.

Comments

eclipsegc’s picture

Status: Active » Closed (works as designed)

So... I would expect that something like this could easily be done by re-writing the main theme function inside of imagefield_gallery_lightbox2 module. This single function controls both the on-node and lightboxed styling of this, so if it's anywhere it's there... you can probably do something in the foreach loop to get the path you'd like and format it properly.

I hope that was informative enough.

Eclipse

atelier’s picture

Thanks, Eclipse. I'm just slightly dangerous when it comes to code customization so I probably won't attempt this. Any chance of rolling this functionality into a subsequent release down the road?

eclipsegc’s picture

atelier,

If so, it's a very small chance... I don't foresee this as particularly important, so I probably won't do it. Again though there's no reason you have to hack the module, you can just rewrite the theme functions in your theme's template.php... if you break something, just delete the new function you've created and you should be good.

Eclipse