Categories

Featured templates

PrestaShop 1.5.x. How to change pre-defined images dimensions

Rating: 5.0/5. From 1 vote.
Please wait...

This tutorial shows how to change pre-defined images dimensions in PrestaShop 1.5 templates.

PrestaShop 1.5.x. How to change pre-defined images dimensions

When you upload an image to PrestaShop, PrestaShop automatically generates various sizes of this image. Therefore, you only have to upload one “master” version of your image, big enough to be resized into all the images sizes.
If you want to make sure your image is correctly resized, you should upload an image that fits the size ratio of the various image sizes. If your uploaded image does not have the same width-to-height ratio as the settings in place, you are risking to see white space on the resized image.

  1. Go to Preferences –> Images in the admin section.

    PrestaShop 1.5.x. How to change pre-defined images dimensions-1

  2. You can see images for different sections and their dimensions.

    PrestaShop 1.5.x. How to change pre-defined images dimensions-2

  3. Click on an image name. Change Width and Height. Save the changes. Perform the same actions for other images.

    PrestaShop 1.5.x. How to change pre-defined images dimensions-3

  4. Click on Regenerate thumbnails in order to regenerate images.

    PrestaShop 1.5.x. How to change pre-defined images dimensions-4

  5. Clear browser cache and cookies, clear PrestaShop cache and refresh the page. We can see that the image size was changed in zoomed image. Please note that sometimes additional modification of CSS files and template files is required to make an image appear in the size you have specified.

    PrestaShop 1.5.x. How to change pre-defined images dimensions-5

Feel free to check the detailed video tutorial below:

PrestaShop 1.5.x. How to change pre-defined images dimensions

Prestashop Premium Themes
This entry was posted in PrestaShop Tutorials and tagged 1.5, archived_tutorial, change, dimensions, images, Prestashop, size. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket