Download & Extend

Newest version breaks Lightbox2 automatic image handling for Image assist

Project:Image Assist
Version:6.x-3.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)

Issue Summary

I updated to the newest version of Image Assist this morning, 6.x-2.0-alpha4, and found that automatic handling with lightbox2 had been broken. I then upgraded to 6.x-3.x-dev, but the issue is still present. I also have the gallery2 module installed on my Drupal 6.13 installation and this integration is working without issue. Please let me know of any additional information that may be needed from me.
An example link would be http://games.simonbassett.org/liveupdate.
I currently have the settings to Link to Image Page. I have also tried Go To Url, which presents a field to place an address, which I leave blank, but this just takes me back to the root of the site.

Comments

#1

Status:active» postponed (maintainer needs more info)

Well, did you Lightbox2 as well?

#2

I'm sorry, but did I do what with lightbox2 as well? I currently 6.x-1.x-dev installed, the latest version.

#3

I have the same problem.

I use the latest image assist 6.x-3.x dev, and after upgrade I realized, that the automatic lightbox handling have been broken, but not with all of the images. The problem only appears, when the thumbnail picture of the image has a smaller height than the default size in the image module settings.

For example, I have a thumbnail size of 200x200 in image module settings. When I upload an image with image assist, and that image has greater width than height, than the width of the thumbnail will be 200px, and the height will be smaller. In this case if I click on the thumbnail in the node, it links to the image node page. In the other case, if the original image has smaller width than height, there will be a thumbnail with a height size of 200px and a smaller width, and the thumbnail links to the lightbox preview.

#4

Odd, I have tried several different settings, and none of the new content seems to work with lightbox2 integration. As I had originally posted my gallery2 integration with drupal and lightbox2 is unaffected. I am going to see if all of the content is broken or just the images with the height restrictions you mentioned.

EDIT - serosin, you nailed it, any image with a thumbnail or preview (basically, what's displayed on the page) greater than 200 triggers the lightbox2, any height less, just opens the link to the original image. Does not appear to be any restriction on the width on my end.

#5

I have the same problem. But the size does not matter. When I click on an inline image the image node opens, not the lightbox.

#6

Having this problem as well. I'm wondering if it has to do with Image Assist changing the "size" to "Other", when I've set it to Preview. I'm guessing it does this because my Preview size is set to 200 x 200. If the image isn't square, the preview size ends up being something like 200x150, and then the Image Assist size gets set to "Other". In my Lightbox2 Automatic Image Handling settings, "Other" is not an option for a trigger.

However, I was able to restore Lightbox functionality by removing one of the height/width dimensions in the image size settings. So for example, previously I had set the Preview size to max height=200, max width=200. I removed the max width specification (leaving max height at 200), and lightbox worked for me again. POSTNOTE: I must have been mistaken - I tried this solution again, and it doesn't appear to be working. My lightbox image handling is still broken.

Hope this is helpful in some way.

#7

You might want to give the CVS HEAD version of this module a try, this problem appears to be fixed there, hopefully there'll be a dev release at some point.

#8

Yes, I also hope that the a dev will be released soon that fixes this problem.

#9

Tested with the CVS Head version, and the issue was still present. Can anyone confirm if it worked for them?

#10

I use image_assist and lightbox heavily. Generally, I insert thumbnails which trigger the lightshow. With the upgrade, all are broken on my site, and changing the size has no affect. Any fix welcome!

#11

cross posted the issue: http://drupal.org/node/621248