My pager images are the same size as the slide show images. The correct image cache files are used but the height and width attibutes of the img tag are being set to the same as the slide show for some reason. What the?
My pager images are the same size as the slide show images. The correct image cache files are used but the height and width attibutes of the img tag are being set to the same as the slide show for some reason. What the?
Comments
Comment #1
idflood commentedThanks for reporting the issue. I've never saw this behavior but it made me look at the code in detail.
You are right, the thumbnail is given the same size as the large one if it is defined:
http://drupalcode.org/project/field_slideshow.git/blob/refs/heads/7.x-1....
On my tests this is happens on all thumbnails but it doesn't create the issue.
I think the problem certainly come from the fact that the $thumbnail_style is not defined in your case.
http://drupalcode.org/project/field_slideshow.git/blob/refs/heads/7.x-1....
To see if this is the case you can put this on this line: http://drupalcode.org/project/field_slideshow.git/blob/refs/heads/7.x-1....
If there is no carousel_image_style or pager_image_style attributes then it means that the settings are not passed correctly somewhere or that there is something wrong with the field setting. Can you take a screenshot of the field settings?
Comment #2
lamp5