Skip to main content
bartonlew
Legend
January 20, 2019
Answered

batch upload using Action not working

  • January 20, 2019
  • 1 reply
  • 2984 views

Hi, I am not sure how to post meaningful screen shots of the problem I am having, so I'll describe it:  I am on a trial membership of the Photo Folio website, and they explain how to resize images and batch upload them n Photoshop.  I am following their instructions, which are:

1.  Open photo

2.  Go to New Action, name it, hit Record

3.  Edit>Assign Profile: select Working RGB; Click OK

4.  Image>Image Size: select 72 dpi, make sure Resample box not checked

5.  File>Automate>Fit Image:  fill in dimensions, Click OK

6.  File>Export>Save for Web (Legacy); output as jpg between about 200-900 kb's; hit Save, name

7.  Close image - do not save changes

8.  Hit Stop button to stop recording.

This works for one image but when I do the next one, it saves over it.  And when I do a batch upload - making the output images go to the same folder - it overwrites all but the last image in the batch and saves it.

Why won't the Action save multiple files, instead of just one and overwriting whatever previously output image is in the same folder?

This topic has been closed for replies.
Correct answer JJMack

I have no idea why you wrote Batch Upload using action is not working.  I see nothing in the action you described that even tries to do an upload.

I see thing in what you describe in the action  the leads me to believe you do not know how Photoshop works well.  You normally do not use assign profile unless you know the colors values in the document are for that color space not the color space Photoshop is currently editing in. Also you use export save for web that does not set any DPI value in files it save for  the web.   So  the Action step settint the print resolution to 72dpi is not needed.  The Fit Image resize may also not be needed for save for web can most likely do the resize you want to do. Save for web can also convert to sRGB colors which which web images should have and is most like what you want to do. Don't use Assign Profile unless you know for sure you want to do that.  It not something you would  regularly batch.

The reason the action is overwriting a file is because when you recorded the Save Web step you changed the file name  presented in the save file dialog.  So the Action Recorder recorder recorded the file name you set into the step.  Had you not change the Name presented recording the step the action recorder would not record any file name into the step and when that step is played the Current document name would be use to save the file.

To do a batch Resize like that you do not even need a action you could use menu File>Scripts>Image Processor...

A more flexible Plug-in Script can be downloaded from the web Image Processor Pro. If you download and install it.  You will find it in menu File>Automate>Image Processor Pro...

To upload files Photoshop is not what you want to use it share feature can not be autometed using Actions and Scripts its an interactive process.

1 reply

JJMack
Community Expert
JJMackCommunity ExpertCorrect answer
Community Expert
January 20, 2019

I have no idea why you wrote Batch Upload using action is not working.  I see nothing in the action you described that even tries to do an upload.

I see thing in what you describe in the action  the leads me to believe you do not know how Photoshop works well.  You normally do not use assign profile unless you know the colors values in the document are for that color space not the color space Photoshop is currently editing in. Also you use export save for web that does not set any DPI value in files it save for  the web.   So  the Action step settint the print resolution to 72dpi is not needed.  The Fit Image resize may also not be needed for save for web can most likely do the resize you want to do. Save for web can also convert to sRGB colors which which web images should have and is most like what you want to do. Don't use Assign Profile unless you know for sure you want to do that.  It not something you would  regularly batch.

The reason the action is overwriting a file is because when you recorded the Save Web step you changed the file name  presented in the save file dialog.  So the Action Recorder recorder recorded the file name you set into the step.  Had you not change the Name presented recording the step the action recorder would not record any file name into the step and when that step is played the Current document name would be use to save the file.

To do a batch Resize like that you do not even need a action you could use menu File>Scripts>Image Processor...

A more flexible Plug-in Script can be downloaded from the web Image Processor Pro. If you download and install it.  You will find it in menu File>Automate>Image Processor Pro...

To upload files Photoshop is not what you want to use it share feature can not be autometed using Actions and Scripts its an interactive process.

JJMack
bartonlew
bartonlewAuthor
Legend
January 20, 2019

Thank you.  You are correct that my posting title did not reflect the problem I was experiencing.  The problem was not with a batch upload but with a batch output.  And while it is true that I do not know how Photoshop works well in all respects, I feel compelled to point out that I was following steps in a video produced by aphotofolio, the premier website for webpages created for professional photographers.  So since you say you normally do not assign a profile "unless you know the colors values in the document are for that color space" I wonder if that's true here, where it's not a document but a web image that is at issue.  As for your statement "Also you use export save for web that does not set any DPI value in files it save for  the web.", I have no idea what this means.  Without meaning to sound impolite, I sometimes have a hard time understanding your instructions.

I followed your directions as to the naming and it worked perfectly.  Not assigning a name to the image in the Action resulted in all the images being exported.  Thank you.

D Fosse
Community Expert
Community Expert
January 20, 2019
  • Don't name the file in Save For Web. Just let it use the existing name.
  • Never use "assign profile" if the file already has one. If it needs to be a different profile, it's "convert". In any case it's moot if you use SFW, because you need to check "embed profile" there (and also "convert to sRGB" if it isn't already).
  • Pixels per inch (ppi) is also completely irrelevant for screen/web. Save For Web will just strip this out of the file anyway.