• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Gallery Lightbox display problem in IE9 (not in FF & Chrome)
PostPosted: Wed Nov 07, 2012 11:21 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Tue Jul 27, 2010 3:07 pm
Posts: 23
Location: Belgium
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:
<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 !


Top
 Profile  
 
 Post subject: Re: Gallery Lightbox display problem in IE9 (not in FF & Chr
PostPosted: Thu Nov 08, 2012 6:37 am 
Offline
Power Poster
Power Poster
User avatar

Joined: Wed Sep 05, 2007 8:03 pm
Posts: 3754
Location: The Netherlands
You could try to add the parameter noembed=1 to the {CGSmartImage} tag in your gallery template

_________________
Custom Global Settings Image || FAQ Image || Gallery Image || Gbook Image || Piwik Web Analytics Image
Image


Top
 Profile  
 
 Post subject: Re: Gallery Lightbox display problem in IE9 (not in FF & Chr
PostPosted: Thu Nov 08, 2012 8:21 am 
Offline
Forum Members
Forum Members
User avatar

Joined: Tue Jul 27, 2010 3:07 pm
Posts: 23
Location: Belgium
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 ?


Top
 Profile  
 
 Post subject: Re: Gallery Lightbox display problem in IE9 (not in FF & Chr
PostPosted: Thu Nov 08, 2012 8:54 am 
Offline
Power Poster
Power Poster
User avatar

Joined: Wed Sep 05, 2007 8:03 pm
Posts: 3754
Location: The Netherlands
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.

_________________
Custom Global Settings Image || FAQ Image || Gallery Image || Gbook Image || Piwik Web Analytics Image
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting