Jump to content

[SOLVED] Preferences->Image


Recommended Posts

Hi, scuse me i'm just new with Prestashop and i'm reading the beginner's book, just i can't ecxactly understand when i go to PREFERENCES and then IMAGE, what is that for?
I know it sets the size of images but which ones?
Is that a name for a group of images, it referes to a specific image?
Well, if you can help me with an example i'd be very glad..
THANKS A LOT!

Link to comment
Share on other sites

It is for group of images.
In your root folder check img/p for product images and img/c for category images.
For products you have home, small, medium, large and thickbox.
And you can use those in to easy change display of products.

For example in product-list.tpl you have image with source

src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home')


Replace home with medium or large .

And if default sizes doesn't suits your site you can add new groups/sizes or change existing.
Example for category you have size 500 px x 150 px. To change it click on edit icon and enter new values.
Let say 880px x 200px. After you save size you wil need to regenerate thumbnails existing category images.
So choose Category for image and category for format drop-down and click regenerate thumbnails.

Link to comment
Share on other sites

×
×
  • Create New...