prestashop Problemas con las imágenes en Prestashop 1.5.x

If you have problems Prestashop images may be because you are using version 1.5.3.2, which has problems in the front-end of Prestashop.

One of the problems is that the importer gives problems, both in version 1.5.2.0 and 1.5.3.2 in. To this we must change the following file by the existing folder / controllers / admin:

Download the file link to view the source code file: AdminImportController

The problem is variable Prestashop arriving empty, and each browser interprets it in a way.

In this case, Internet Explorer 9Interprets empty as 0px or 1px size, so we can not see the picture properly.

Searching for a solution to the problem, I found this forum where they gave a solution: http://www.loading.es/blog/2013/01/24/solucion-imagenes-front-office-prestashop-1-5-x-en -internet-explorer /

-------------------------------------------------- -

First let's modify the file /modules/homefeatured/homefeatured.tpl

Replaced in line 41 this code:

height = "{$ homeSize.height}" width = "{$ homeSize.width}"

For this other code:

{If isset ($ homeSize.width) && ($ homeSize.height)} width = "{$ homeSize.width}" height = "{$ homeSize.height}" {/ if}

-------------------------------------------------- -

We continue modifying more files now /modules/blockbestsellers/blockbestsellers.tpl

Replaced in line 37 this code:

height = "{$ smallSize.height}" width = "{$ smallSize.width}"

For this other code:

{If isset ($ smallSize.width) && ($ smallSize.height)} width = "{$ smallSize.width}" height = "{$ smallSize.height}" {/ if}

-------------------------------------------------- -

We continue modifying more files now /modules/blocknewproducts/blocknewproducts.tpl

Replaced in line 34 this code:

height = "{$ mediumSize.height}" width = "{$ mediumSize.width}"

For this other code:

{If isset ($ mediumSize.width) && ($ mediumSize.height)} width = "{$ mediumSize.width}" height = "{$ mediumSize.height}" {/ if}

-------------------------------------------------- -

We continue modifying more files now /themes/default/product.tpl

Replaced in line 179 this code:

width = "{$ largeSize.width}" height = "{$ largeSize.height}"

For this other code:

{If isset ($ largeSize.width) && ($ largeSize.height)} width = "{$ largeSize.width}" height = "{$ largeSize.height}" {/ if}

----------------

Replaced in line 184 this code:

width = "{$ largeSize.width}" height = "{$ largeSize.height}"

For this other code:

{If isset ($ largeSize.width) && ($ largeSize.height)} width = "{$ largeSize.width}" height = "{$ largeSize.height}" {/ if}

----------------

We replaced in line 200 this code:

height = "{$ mediumSize.height}" width = "{$ mediumSize.width}"

For this other code:

{If isset ($ mediumSize.width) && ($ mediumSize.height)} width = "{$ mediumSize.width}" height = "{$ mediumSize.height}" {/ if}

-------------------------------------------------- -

We continue modifying more files now /themes/default/product-list.tpl

Replaced in line 42 this code:

{If isset ($ homeSize)} width = "{$ homeSize.width}" height = "{$ homeSize.height}" {/ if}

For this other code:

{If isset ($ homeSize.width) && ($ homeSize.height)} width = "{$ homeSize.width}" height = "{$ homeSize.height}" {/ if}

-------------------------------------------------- -

Thus, if there is a variable $ height or $ width, add the height and width parameter to the image.

If not, all browsers correctly interpret the image size.

Dime qué te ha parecido el artículo...

rating off Problemas con las imágenes en Prestashop 1.5.xrating off Problemas con las imágenes en Prestashop 1.5.xrating off Problemas con las imágenes en Prestashop 1.5.xrating off Problemas con las imágenes en Prestashop 1.5.xrating off Problemas con las imágenes en Prestashop 1.5.x (Ninguna valoración todavía)
loading Problemas con las imágenes en Prestashop 1.5.xCargando…
Advertisements

Use of cookies

This site uses cookies for you to have the best user experience. If you continue to browse you are giving your consent to the acceptance of the above cookies and acceptance of our cookies policy, Click the link for more information.

OK
Notice of cookies

Veo que te gusta mi Blog...

Si te ha parecido interesante este artículo, no esperes a suscribirte a mi blog. Cuando vuelva a escribir otro seguro que te interesará y no desearás no haberte enterado. Puedes suscribirte con total tranquilidad de que no recibirás spam. Lo odio igual que tu. Solo quiero que aprendas cosas nuevas y te sientas agusto con mis artículos. ¡Gracias!

Thank you for subscribing!

Pin it on Pinterest

Share This

Share

Share this with your friends!