Closed (cannot reproduce)
Project:
Lightbox2
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
27 Jul 2011 at 06:17 UTC
Updated:
13 Oct 2011 at 18:36 UTC
No matter what settings I choose in the "format" dropdown for my image field when using a ligthbox2 setting, the node shows only a thumbnail.
I have a 640x480 image. I have the "default" or full view. The picture is in an "image" field. If I select the "format" type of "image in the "manage display" tab of my content type, the image appears in the proper size in the default (non teaser) view. But no matter what Lightbox2 setting I choose (medium->original) the image that displays in the full view of the node is always a thumbnail.
Comments
Comment #1
Lloyd commentedI'm experiencing this as well.
Comment #2
gazzer82 commentedSubscribing, add me to this one, im seeing the same issue.
Comment #3
kevinquillen commentedYes, same here. The field formatter is being ignored, and the node is defaulting to the Thumbnail presentation. While the thumbnail opens in a lightbox, the following does not occur:
- Image resizing
- Lightbox grouping
When I change back to Image, my image style is applied, but no Lightbox effect.
Comment #4
kevinquillen commentedFor now I have switched to Colorbox to get around this (if you need a solution today).
Comment #5
spamator12 commentedSame here, could anybody make a pros and cons for lightbox VS colorbox ? It would be nice to know botch modules features to comparison.
EDIT:
@aawalker - thx!
Comment #6
aawalker commentedI've actually just switched from Colorbox to Lightbox2 because it allows for longer captions, which is a must for my project. Like everyone else so far, I'm experiencing that the module is completely ignoring my field formatting preferences for sizing and grouping.
Has anyone had any luck yet on a solution?
@spamator12 - I have very special needs for my lightbox-type module so I've been doing a little research and found this (slightly older, but still relevant) comparison article that might help you a little. http://drupal.org/node/266126
Comment #7
garlou commentedComment #8
artatac commentedsub
Comment #9
infinito commentedquick fix:
change line 937 of lightbox2.module from
$image_style = 'thumbnail';
to
$image_style = 'YOUR_IMAGE_STYLE';
Comment #10
artatac commentedI have moved to colorbox and am very pleased
Comment #11
1kenthomas commentedYou mean literally "YOUR_IMAGE_STYLE" or, more likely, [YOUR_IMAGE_STYLE] = replacement with your size?
K
PS Gotta love:
// Temporary hardcoding link_file and image_style for debugging
in the code :)
Comment #12
yukare commentedI am working on this and this weekend i will fix it, or most of it, just to tell, I have it working now, but i am not ready to provide a patch, just wait more one or two days for a fix.
Comment #13
yukare commentedI just commited a patch about this, it still needs works, but please, test it and tell what is misssing/necessary in drupal 7.
Now that i learn the way it works, will be easy to do the missing parts.
Comment #14
dieuweI get this error when the module is in use on a page, error appears for each image:
Warning: explode() expects parameter 2 to be string, array given in lightbox2_field_formatter_view() (line 936 of lightbox2/lightbox2.module).
Comment #15
yukare commentedPlease, try downloading again the last dev, as i think that drupal did not updated it from git you you get it, but now the dev version is the same of git, because for me the line 936 is a blank line.
Comment #16
alexandreracine commentedWell for now it is not working I think... from the latest release:
-------------------------------
lightbox2 7.x-1.x-dev
Posted by yukare on July 23, 2011 at 4:10pm
Last updated: September 19, 2011 - 12:11
Not everything from Drupal 6 is working, but is important that you use, test and report anything that works on Drupal 6 but not in 7.
Current you can use most of it, but some important things still do not work:
Views Suport (need update from views 2 to 3)
Flick Suport
Image Field
Comment #17
aawalker commentedWith the latest update, it seems to retain the image styles that you set in the content type. It still seems to be ignoring the grouping setting, however.
Thanks for your work on this!
Comment #18
yukare commentedThe grouping is now fixed, please, wait for the next dev version or get it from git and report if you have any issue or if something else is missing, thanks.
Comment #19
alexandreracine commentedWell, I just installed the 11 October version, and now the admin interface does not work (that is admin/config/user-interface/lightbox2). Blank page...
On the node type image field, I could see now "Lightbox2 - lightbox" and "Lightbox2 - slideshow"
I don't really know if they work since when looking at my node, no image where display.
Got back to my 19 september version, and now everything is fine.
I'll put this back at "active", but if you really feel this is fixed and that everything else is not working from other issues, please put it back to fixed.
Sorry that I can't do more then testing and issues.
Thanks.
Comment #20
yukare commentedI have it working on my dev site and i downloaded it and uploaded it to my real website, and i do not have this.
Since you get a WSOD this means a fatal error, and since the previous version works, this means that i broke something. Please, can you look at admin/reports/dblog and the apache error log if there is any message that helps me to find why this happen to you?
Thanks.
Comment #21
alexandreracine commentedI can't find anything in dblog or apache error log, weird.
In a couple of weeks, I'll create another new website with lightbox2, so I'll reopen if I get that problem again.