Jump to content

Smarty variable assigned but not processed in IE


Recommended Posts

Hi there,

 

I just noticed that my Prestashop 1.5.2 webshop does not show correctly in IE 9.

 

I enabled smarty debugging and noticed that some variables which are used templates are assigned but not ending up in the generated HTML for IE.

This results in images not shown, or shown 1 by 1 pixel.

 

Chrome, Firefox and Safari are working fine.

However they also do not get the width or height set.

 

I debugged with fiddler and noticed that for instance for the viewed products block the width height and alt of the images is not set.

Strange because the url IS set and is also passed by Smarty.

In the Smarty debug console those variables ARE present.

 

Does anyone have an idea what is wrong?

 

Also tried disabling and enabling varies smarty settings with no success.

PHP logging does not contain any errors.

 

Regards, Jeroen

Edited by Geronimo2012 (see edit history)
Link to comment
Share on other sites

Found the 'problem'

 

To preserve space I removed the non-default image sizes in the image configuration area.

The images used for display are all postfixed with default.

However the size being passed is the non-default size.

 

Regards, Jeroen

 

Hi there,

 

I just noticed that my Prestashop 1.5.2 webshop does not show correctly in IE 9.

 

I enabled smarty debugging and noticed that some variables which are used templates are assigned but not ending up in the generated HTML for IE.

This results in images not shown, or shown 1 by 1 pixel.

 

Chrome, Firefox and Safari are working fine.

However they also do not get the width or height set.

 

I debugged with fiddler and noticed that for instance for the viewed products block the width height and alt of the images is not set.

Strange because the url IS set and is also passed by Smarty.

In the Smarty debug console those variables ARE present.

 

Does anyone have an idea what is wrong?

 

Also tried disabling and enabling varies smarty settings with no success.

PHP logging does not contain any errors.

 

Regards, Jeroen

Link to comment
Share on other sites

×
×
  • Create New...