Closed (fixed)
Project:
Gallery
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Jul 2006 at 01:49 UTC
Updated:
22 May 2007 at 23:02 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
kiz_0987 commentedgallery.module gets its info directly from the ImageBlock module in Gallery2. It is there that the option is required. Could you please add this feature request on the GMC website.
Comment #2
westphal commentedI will do that. Thanks.
Comment #3
Anonymous (not verified) commentedAlso interested in this feature. I found a request for it & a cool patch on Gallery that adds a link target to the imageBlock code - It was from awhile ago, and recently committed to the CVS version of Gallery, but didn't make the 2.1.2 release. http://gallery.menalto.com/node/37926
It supports no link, a specific link, or defaults to the link to the gallery image.
I think all that is needed is to modify the filter [G2:itemID link=....] and we're in business. Is the person who wrote that filter still on this? Would be great to have them look at it, I'd be willing to pay them for their time.
Thanks,
-greg
Comment #4
Anonymous (not verified) commentedI'm not adept at rolling patches. However, attached is my modified filter.inc, I also added the form elment below to gallery_settings.inc
Using the CVS version of Gallery (or at least incorporate the imageBlock Module updates - this is what I ended up doing - didn't want CVS code on our production server). Can use the image filter with the new parameter link="..."
link=none (my default)
link=blank & filter parameter set blank (image links to url for full size in Gallery)
link="http://www.drupal.org" (image links to specified url)
Have this in a production environment at the moment, and seems to be working fine.
Comment #5
Mike295855 commentedI am a little bit confused as to how to go about doing this. What is it that you need to modify exactly? I couldn't find any files by the names mentioned here.
Comment #6
kiz_0987 commentedAdded in the 5--2 branch. Needs G2.2 or above.
Comment #7
(not verified) commented