Hello - first off, thanks for the amazing mod. It really does quite a lot.

I'm having a bit of trouble with my install. I can't provide a link, as the site is in maintenance mode until it goes live, but here's the HTML that's being generated. For some reason when you click on the images in the album, only the thumbnail is displayed in the lightbox. I think a fix for this was supposed to be in this version, but perhaps something with my install is preventing it.

Any help is greatly appreciated!!

<div>

<a rel="lightbox[gallery2]" title="02.jpg&lt;br /&gt;&lt;a href=&quot;/photos/Landscaping+the+Rotary/02.jpg.html&quot; id=&quot;node_link_text&quot; target=&quot;false&quot; &gt;View Image Details&lt;/a&gt;" href="/gallery2/main.php?g2_view=core.DownloadItem&amp;g2_itemId=248&amp;g2_serialNumber=2&amp;g2_GALLERYSID=ccc87002ebd2af68c153d5edeee254f4">
<img title="02.jpg" src="/gallery2/main.php?g2_view=core.DownloadItem&amp;g2_itemId=248&amp;g2_serialNumber=2&amp;g2_GALLERYSID=ccc87002ebd2af68c153d5edeee254f4" id="IFid2" class="ImageFrame_none giThumbnail" alt="02.jpg" height="113" width="150">
</a>


</div>

Comments

stella’s picture

Can you send me the link generated by gallery2? i.e. before lightbox2 makes it's modifications to it?

Cheers,
Stella

timeril’s picture

Hi - thanks for the quick response! Here's the HTML from the gallery2 standalone:

<div>

<a href="/gallery2/photos/2005+Christmas+Stroll/01.jpg.html">
<img src="/gallery2/main.php?g2_view=core.DownloadItem&amp;g2_itemId=39&amp;g2_serialNumber=2" id="IFid1" class="ImageFrame_none giThumbnail" alt="01.jpg" height="100" width="150">
</a>


</div>

(this is from a different image, I just noticed. but same issue!)

Ink_n_Image’s picture

Hello Stella,

I am also having this issue with my drupal/gallery2 embedded installation at http://www.inknimage.com - any thoughts?

The new version has fixed some issues I was having but created this one!

Also, any idea if lightbox should work with thumbnails in a post (I'm using G2Image).

Thanks,

Marty

Ink_n_Image’s picture

A quick update - using the PGLightbox theme fixes the issue. But my themes have all been hacked around so much trying to get lightbox to work the way I want it this may not help.

I think I need to delete Gallery and start again from scratch, I don't know what files I've altered!

timeril’s picture

Figured my issue out. I had to change my Gallery2 URL Rewrite pattern for the "Show Item" view:

from photos/%path%

to photos/%page%

("photos" is the location of my embedded gallery)

Yippee!

stella’s picture

Status: Active » Fixed

Thanks for letting me know.

Cheers,
Stella

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.