• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 432
  • Last Modified:

Batching images using the "Save for Web & Devices" optimizer

I have created an action workflow to resize images, change the resolution, etc.  Now, in order to export the images, I want Photoshop to do these things:

1. Export using the settings in the "Save for Web & Devices" dialog box (options like specifying the color space, changing metadata, and other web-related optimization settings that are not available in the normal "Save As" dialog) in a given directory (hopefully the directory could be specified at batch time and not at action-writing time)

2. Auto-name the file (in a format like "image_01.jpg", "image_02.jpg", and so on)

3. Be able to do this using "batch" automation

If I add a step to my action that sets the appropriate settings in the Save for Web dialog, running the built-in Batcher (with systematic filenames and destination specification options) does *not* seem to use the Web settings that I had specified.

How could these things be accomplished?

P.S. Even better would be if I could export the same file in different sizes with different names.  For example: suppose I had an image of a flower.  I want to save a copy of the flower at a maximum width or height of 500 px to display on a photo gallery.  This file could be saved as "image_01.jpg".  I also want to make a *second* file in the same directory with a maximum width/height at 50 px; this would act as a thumbnail.  The filename could be "thumb_01.jpg", the digits for the thumbnail corresponding to the digits on the gallery photo.  Could something like this be achieved as well?

(If only Fireworks had automation!  Fireworks is so much easier to use than Photoshop!  lol)
  • 3
1 Solution
* Record two action Layers, first one for larger image and second one for thumnail image
* Run the batch for larger image the source folder is your images folder
* Run the batch for thumnail image the source folder is your first batch destination folder
sffcAuthor Commented:
Thanks for the comment, but that still doesn't answer the main part of my question.  How do make the batch actions export using the settings in the "Save for Web & Devices" dialog box and auto-name the new files?

Or would it be better to find a third-party batch image conversion application?
step 1
Create a new action name:opti

step 2
Click on record

step 3
open a file

step 4
click ctrl + alt + i
change the height to 500px

step 5
Changing color space is not neccasary because "Save for Web & Devices" saves always in RGB
change the metadata

step 6
make your other web-related optimization

step 7
goto  "Save for Web & Devices"
change everythink that match your needs
save the file

step 8
close the file without saving

step 9
stop the action record

step 10
Goto File--> Automate --> Batch
choose your action opti
Choose your source folder
check Overide Action "open" Commands

step 11
Destination: Folder
choose your destination folder
check Overide Action "Save As" Commands
Create your File Naming

click on OK

creat a second action with a differnet picture size
repeat all steps
sffcAuthor Commented:
Thanks for your very helpful response!  Hmm.  For some reason, even with the "Override Action Save-As Commands" checkbox checked, the destination folder and batch naming did not execute correctly.  Maybe it is my system configuration or something.  (I'm running CS4 on OS X 10.6.)

I ended up just getting a third-party converter that works well for my needs.  But since your workflow is easy to follow and should work, I'll accept it as the solution :) Thanks again!
sffcAuthor Commented:
The "Override Action Save As Commands" part didn't execute correctly, but all other parts are accurate and easy to follow.

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now