Jump to content

[solved] Manufacturer Thumbnail Not showing up


Recommended Posts

Good day All .. Very new to Prestashop ( after being a long time OSC user ) ... Im now a convert lol.

 

I can add the Manufacturer image in the admin and it shows up fine, but on the client site it just shows no image available.

 

Here is my snippet from "Manufacture-list.tpl"

 

<div class="logo">

{if $manufacturer.nb_products > 0}<a href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$manufacturer.name|escape:'htmlall':'UTF-8'}" class="lnk_img">{/if}

<img src="{$img_manu_dir}{$manufacturer.image|escape:'htmlall':'UTF-8'}-medium_default.jpg" alt=""/>

{if $manufacturer.nb_products > 0}</a>{/if}

</div>

 

4:30 in the am and im banging my head :)

 

Thank you in advance - Brandon

Link to comment
Share on other sites

Hello,

 

simply change the img tag below :

 

<img src="{$img_manu_dir}{$manufacturer.image|escape:'htmlall':'UTF-8'}-medium_default.jpg" alt=""/>

 

by

 

<img src="{$img_manu_dir}{$manufacturer.id_manufacturer|escape:'htmlall':'UTF-8'}-medium_default.jpg" alt="" />

 

and do the same on supplier-list.tpl file

 

AH

  • Like 1
Link to comment
Share on other sites

Hello,

 

simply change the img tag below :

 

<img src="{$img_manu_dir}{$manufacturer.image|escape:'htmlall':'UTF-8'}-medium_default.jpg" alt=""/>

 

by

 

<img src="{$img_manu_dir}{$manufacturer.id_manufacturer|escape:'htmlall':'UTF-8'}-medium_default.jpg" alt="" />

 

and do the same on supplier-list.tpl file

 

AH

 

Thank you very much Aimee ... That did the trick ! - Cheers

Link to comment
Share on other sites

  • 1 month later...

Hello,

I use the v 5.4.1, one lang, Dutch, and the show the follow snipe on the Manufacture-list.tpl:

 

 

<!-- logo -->

<div class="logo">

{if $manufacturer.nb_products > 0}<a href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$manufacturer.name|escape:'htmlall':'UTF-8'}" class="lnk_img">{/if}

<img src="{$img_manu_dir}{$manufacturer.image|escape:'htmlall':'UTF-8'}-medium_default.jpg" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" />

{if $manufacturer.nb_products > 0}</a>{/if}

</div>

<!-- name -->

 

Thnx,

Roger

 

I have it chance in these tpl, but nothing will works, the logo are showing in the BO, I have also upload a small for testing.

Link to comment
Share on other sites

×
×
  • Create New...