Closed (fixed)
Project:
Thickbox
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jul 2007 at 19:02 UTC
Updated:
13 Aug 2008 at 14:53 UTC
I am using embeded Gallery2 and I thought that it would be great to use thickbox with this as I have so many problems with lightbox conflicts. So, I modified the ImageBlock.tpl file in Gallery2 to use thickbox and provide a link to the corresponding photo page within Gallery. This works. However it does seem to produce one strange additional piece of output, a link with "Show This Photo Page/>" as the text and "Close" as the alt text in the information area at the bottom of the image.
The following is an example of the generated html (tidied a little for readability) and I have attached a screenshot of the resulting thickbox display to clarify the problem.
<a
href="http://localhost/drupal/gallery2/d/39-1/Water+lilies.jpg"
class="thickbox"
rel="Random Images5508"
title="Water lilies <a href='/drupal/index.php?q=gallery&g2_core.ShowItem=&g2_itemId=39'>Show This Photo Page</a>"
>
<img src="http://localhost/drupal/gallery2/d/40-2/Water+lilies.jpg" width="150" height="150" id="IFid5" class="ImageFrame_none" alt="Water lilies" longdesc="Water Lillies"/>
</a>
| Comment | File | Size | Author |
|---|---|---|---|
| tb_bug.png | 115.15 KB | derryb |
Comments
Comment #1
frjo commented