I've got tens of thousands of product images that I need to resize (constraining proportions) so that the largest dimension (height or width) is 500 pixels.

The images are in all kinds of sizes, some are perfect squares while most are either tall or wide. I can easily batch resize based on either height or width. The problem here is that if I resize a tall image based on width, it becomes very small etc.

Any ideas on the most practical way to standardize these images so that the largest dimension is 500 pixels?

| improve this question | | | | |

In Photoshop, Files -> Scripts -> Image Processor.

Enter 500 for both Width and Height and check Resize to Fit. It will maintain the correct aspect ratio and resize the longest dimension to 500.

| improve this answer | | | | |

If you want to make some custom batch process where you are dealing with multiple file types, Image Processor is not your best choice, it let you save in JPEG, PSD or TIFF only.

Here is the proper solution

File > Automate > Fit Image

It will just resize the image and you can continue making your batch process.

| improve this answer | | | | |
  • Had to make a custom batch process, and this is indeed the best solution. – Macondo Feb 6 '18 at 12:22

This DPChallenge forum thread has a Javascript for CS4.
Resize Action in CS3 for portrait OR landscape

| improve this answer | | | | |

This is something Adobe Photoshop Lightroom is MUCH better at. Photoshop will work, as hyperslug explained, but if you plan on doing this a lot in the future you might want to give the free Lightroom trial a spin and see if it saves you some time.

| improve this answer | | | | |
  • Ahhhh crap. Didn't realize this was so old. I'm not so convinced the related posts on the right are helpful... – coreyward Nov 5 '09 at 21:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.