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)
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

* 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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Creative Suite CS

From novice to tech pro — start learning today.