Gallery Lightbox display problem in IE9 (not in FF & Chrome)

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
myleen99
Forum Members
Forum Members
Posts: 23
Joined: Tue Jul 27, 2010 3:07 pm
Location: Belgium

Gallery Lightbox display problem in IE9 (not in FF & Chrome)

Post by myleen99 »

I have the following CMS environment :
* CMSMS 1.11.2.1 (Isabella)
* Gallery 1.6 with LightBox 2.51
* CGExtensions 1.31.1
* CGSmartImage 1.9.5

Images are uploaded in Gallery and automatically resized by CGE and provided with a watermark by CGSI.

The {Gallery} is then called on a page with the Lightbox template. All image thumbs are shown correct. Clicking on a thumb opens a Lightbox overlay with a larger image (including watermark).
Thus all correct in FF and Chrome, but not in IE9.

In IE9 all works as above but only 1cm of the image is shown at the top of the overlay. All the rest is filled with grey. Navigation (prev/next) is possible but only showing top of image with grey.

I've already spent days on different forums to find a solution, but no success. I've tried different so-called "solutions" but no success.

When I look at the generated HTML output code, I see a lot of data related to the image itself not knowing what it means after the "href".

Code: Select all

<div class="img">
<a class="group" href="data:image/jpeg;base64,/9j/4AAQSkZJRg ... 
The Lightbox - as is used in this module - is working in IE9. You can see yourself here : http://lokeshdhakar.com/projects/lightbox2/

Any help in solving this weird problem is welcome !
I would like to see this solved soon as the majority of my website visitors is using IE.

Note : I have this Gallery & Lightbox working on another website, but without automated resizing and no watermark.

Much THANKS in advance !
Jos
Support Guru
Support Guru
Posts: 4017
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: Gallery Lightbox display problem in IE9 (not in FF & Chr

Post by Jos »

You could try to add the parameter noembed=1 to the {CGSmartImage} tag in your gallery template
User avatar
myleen99
Forum Members
Forum Members
Posts: 23
Joined: Tue Jul 27, 2010 3:07 pm
Location: Belgium

Re: Gallery Lightbox display problem in IE9 (not in FF & Chr

Post by myleen99 »

GREAT !!

This simple noembed=1 just saved my project.
Jos, thank you very much for the accurate and fast reply.

Much appreciated.
Thanks
Dirk

As it also might be usefull for others, can you explain the purpose of the "noembed" tag ?
Jos
Support Guru
Support Guru
Posts: 4017
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: Gallery Lightbox display problem in IE9 (not in FF & Chr

Post by Jos »

As you noticed yourself, CGSmartImage does something to the href attribute. In stead of the usual link to an image, CGSmartImage embeds the complete image into your html sourcecode as base64 encoded string. I guess that is done to optimize page loading time.

Apparently Lightbox cannot handle those encoded strings. With the noembed parameter in CGSmartImage, you prevent that conversion.
Post Reply

Return to “Modules/Add-Ons”