Jump to content

where to adjust the image size of " manufacturer product list "


Recommended Posts

You can change the generated image size at back office

Preferences tab - image sub tab

But please note this change also applies to product and other images.

I suggest to just change the image displayed size(not physical size) in the theme file of manufacturer page.
it is here:

YourSiteRoot/themes/YourSiteTheme/manufacturer-list.tpl

for product images here
YourSiteRoot/themes/YourSiteTheme/product-list.tpl

Link to comment
Share on other sites

I have no luck with my image size of manufacturer list.

I modify from this

<!-- logo -->

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

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



<!-- logo -->

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

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



but I dont see any changes..

also, my image size of my manufacturer is width 129px and height 129px.
but this size cannot be found in global.css / product.css / productlist.css / manufacturerlist.css and preferences>images
so I am abit puzzled here.

Link to comment
Share on other sites

the image size is not defined in css file. it is defined in PrestaShop database.
you can see this from the code

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



but I dont see any changes..

It could be cache issue.
Please set as following

back office - preferences - performances

Smarty
force compile -> Yes
cache -> no

There is another cache setting in the bottom, also disable it.
after that you should be able to see the changes
Link to comment
Share on other sites

×
×
  • Create New...