Support » Plugin: WooCommerce » Photo Editing – how to position small images on white background

  • Resolved jen000


    I have thousands of product images which are looking great as they are all square and on a white background.

    But we have about 500 product images which are 600px by 250px. When we upload them they are cropped and look awful. At the moment I am using photoshop to position these onto a white square which is 600px by 600px and then uploading them.
    Is there a better way of doing this? Is there a plugin or something which will put the smaller images onto a white background for us? Otherwise it is going to take forever!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Juan G. woo-hc


    Hi @jen000!

    There isn’t a way to do this in WooCommerce core; I am leaving this thread open for a bit to see if anyone can chime in to help you out.

    For additional assistance on this topic, we recommend getting in touch with one of the customization experts listed on the WooCommerce Customizations Page.


    If you’re trying to get WordPress/wooCommerce to automatically put smaller images on a 600 x 600 white background, I don’t have a solution for you, but if you are willing to process the images on your PC before uploading them, you’ve got a couple of options.

    First, Photoshop has a batch editing capability you could use. If you search for “photoshop batch edit” you’ll find a bunch of tutorials on how to set up a new action to affect all the images files in a folder.

    I use Imagemagick from the command line to do batch photo processing. There’s a version of it for all the major operating systems. The command(s) you’ll use will vary a bit depending on the OS, but there are plenty of examples out there. Basically, you’ll be using the “convert” command if you want to create a new image file, and the “mogrify” command if you want to use the same file. For example, if you want to put all the JPEG images in the current folder on a 600 x 600 white background, you’d run the following command from the command line:

    mogrify -gravity center -background white -extent 600x600 *.jpg
    Plugin Support Igor H (woo-hc)


    Hi everyone,

    The commands provided by @linux4me2 look interesting, thanks for sharing that.

    @jen000 I understand you would like to add white backgrounds to your images, you can also use this plugin called Remove products background for WooCommerce:

    There are also more options from third-party plugins explained in this article.

    Regarding the image size, you can learn more by checking this article: Changing Product Image Size.

    I hope this provides clarity 🙂

    Thread Starter jen000


    Thank you everyone. Really helpful suggestions 🙂

    Plugin Support Sérgio.woo-hc


    HI @jen000,

    I’m glad you found the information helpful! I’ll now mark this topic as solved.

    Feel free to open a new one if you need further help.

    Best regards,

    Thread Starter jen000


    I just want to add a reply for anyone else who has this problem. There are free plugins that will do the job! Here is one example: Smart Image Resize for WooCommerce

    Plugin Support con


    Automattic Happiness Engineer

    Thank you for sharing your solution 👍.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Photo Editing – how to position small images on white background’ is closed to new replies.