I have a view that has a thumbnail that has the display field style setup to use Lightbox2. Clicking the image shows the larger image in the Lightbox format. This works fine when going to the view directly - but it does not work when the view is inserted into another node. The thumbnail image doesn't show up it all. I should also say that the thumbnail is produced by ImageCache and the larger image to be displayed in Lightbox is the original size.
The HTML code that is being generated by InsertView for the thumbnail is as follows:
<a href="http://revbilly.dev/sites/default/files/posters/440KB.jpg" rel="lightbox[field_poster_file][a]"></a>
Here is the thumbnail code that is generated when looking at the View directly:
<a href="http://revbilly.dev/sites/default/files/posters/440KB.jpg" rel="lightbox[field_poster_file][a]"><img src="http://revbilly.dev/sites/default/files/imagecache/200w_scale/posters/440KB.jpg" alt="a" title="a" height="150" width="200"></a>
I have attached two screenshots that illustrate the difference.
I have use this feature in the 5.x version without a problem.
Comment | File | Size | Author |
---|---|---|---|
Insert View | 70.11 KB | capellic | |
View | 75.94 KB | capellic |
Comments
Comment #1
mlsamuelson CreditAttribution: mlsamuelson commentedIs there any chance this is an issue related to Drupal's input formats filtering the output?
mlsamuelson
Comment #2
Pasquallethe tag is excluded, seems like an input format issue. You should check the input format on that node..
Comment #3
Pasqualle