Add Anchor tags around image in slideviewer

Apr 30, 2012 at 10:40 PM

Hi,

I'd like to be able to add <a> tags around the images on the slide viewer (so that the banners can be clickable out to an href.

I can modify the source easy enough, just wondering if there's a different or better way to do it using fields, themes etc.

Thanks in advance,

Greg

Coordinator
May 2, 2012 at 1:02 PM

Hi Greg,

Currently because the way the module was built you can't add this tags using alternates. This module was developed when my knowledge about orchard was very limited. This is one of the reasons I want to make 2.0 version of this module ;-)

But anyway, this could be a feature of the module so the user could change the link when defining the images of a gallery.

For now, I think the best approach for you is to change the source code itself. Feel free to contribute with your code if you make a generic solution.

Thanks!

Gabriel Mello

Coordinator
May 2, 2012 at 1:20 PM

Actually, there is already a proposal for that feature.

http://orchardimagegallery.codeplex.com/workitem/8