Hi,

I am using the galleria plugin and it works great. I am currently pulling the images from a content type used for property details. What I am trying to do is get the main (large) image of the galleria slideshow to link to the content it is pulled from. I tried this in rewrite section <a href="[view_node]">[field_photo]</a> It did nothing. So does anyone know how to do this? Am I way off on how to do this?

Thanks

CommentFileSizeAuthor
#4 Screenshot 2014-07-18 13.36.40.png160.04 KBsander-martijn

Comments

juves’s picture

Try this

You can add image links using the longdesc attribute (default) or customize it using data_config

http://galleria.io/docs/options/popupLinks/

juves’s picture

Status: Active » Needs review
daryand’s picture

juves,

thanks - where do i set the longdesc attribute? i don't see the option for that or popupLinks in the "Edit Option Set" dropdown list.

do i need to modify a file by hand in the galleria.Configure() function/class?

thanks
d

sander-martijn’s picture

Category: Support request » Bug report
Issue summary: View changes
StatusFileSize
new160.04 KB

While this is possible on the Galleria side, Drupal doesn't support the longdesc or data-config in images. In views I figured I could just rewrite the output of the image by loading a hidden link field before the image and then add it using rewriting as the longdesc - and here is where the galleria module has a bug - it completely ignores the rewriting, thus longdesc is not added, hence no link.

changing this to bug report because it should use the rewritten output or provide another way to accomplish this.