I have made several attempts at recording the Export > Save for Web (Legacy) script where I select the File Size Optimization to reduce the file size of several .jpg images.

However, when I run the script the file size is unaffected.

Thank you!

  • They used to have that as a built-in function, but took it out. Now they want you to use Lightroom CC. Which I tried and just had to stop! It is a pity. Why the script recording does not work is likely tied to the above, but I am not sure. Commented Dec 1, 2017 at 7:53
  • Can i batch process in Lightroom? I just need to reduce the file size of 150 images. Commented Dec 1, 2017 at 17:12
  • 2
    Yes, Photoshop CC 2018 does record Save for Web (Legacy) in actions. Are you trying to recompress images that are already jpeg? That's not really a good idea. Ideally, Save for Web is for exporting an uncompressed source image.
    – Billy Kerr
    Commented Jul 1, 2018 at 9:53

1 Answer 1


To solve this issue so far, I have used Image Processor (File > Scripts > Image Processor) and reduced the image quality. I used the File Size Optimization option from Save for Web to give me an idea of the quality I should reduce by based on my desired file size. The only issue is that every image is slightly different resulting in a variation of file sizes. Since my images were very similar this was not a huge issue, for very diverse images this work-around would not be ideal.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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