Closed (won't fix)
Project:
Image
Version:
6.x-1.0-beta3
Component:
image_gallery
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Oct 2009 at 00:19 UTC
Updated:
21 Dec 2010 at 02:16 UTC
Hi,
integrating shadowbox in the new image gallery with views should not be difficult. The only item to be added to the <a href="image.jpg"> tag is rel="shadowbox[gallery]", but what code/template do I need to modify to have this inserted in the <a href> generated by the views module? Also it seems the title in the href is used to code the img src, but I would like here to have the image node title so it can be properly displayed by shadowbox.
I had it working in alpha6 without views.
Cheers, Fons.
Comments
Comment #1
joachim commented> Also it seems the title in the href is used to code the img src, but I would like here to have the image node title so it can be properly displayed by shadowbox.
That is a bug in Views, I think. Please try with the latest Views dev and report here: #591166: Bad links in image galleries (title and alt contain img tag).
For shadowbox support: you can use theme_image_display, though this will affect image nodes too. Otherwise, views lets you use a specific template for that one field, which you could try though I'm not sure what data you'll get in it.
If you can add anything you find to the handbook that would be great.
Comment #2
sunSee also #626174: Thickbox support for Image gallery views (same question, different *box)