Jump to content

Creating wrong img path


Recommended Posts

Hi.

 

I have a problem with a Prestashop v. 1.5.4. I am running it on a local server but cant see how that could be the problem?

The img-paths created are wrong. It comes out as:

on product page: "shopname"/"7-large_default/"productname".jpg

featured products on home page: "shopname"/17-large/"productname".jpg

in the product list: "shopname"/7-home-list/"productname".jpg

 

The links in the .tpl files are:

on product page: src="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'large_default')}"

featured products: src="{$link->getImageLink($product.link_rewrite, $product.id_product, 'large')}"

in the product list: src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home-list')}"

 

So different ID's for same product, and the img/p/id/ is missing in the link? Have tried to replace the classes folder but didn't work. I really don't know what is causing this problem! It is happening with both custom and default theme. I have tried to reset the thumbnails also.

 

I hope someone out there has a clue. Even if it is just telling me where the link is created.

Link to comment
Share on other sites

×
×
  • Create New...