Mar 28 2012
I use two different sizes of images on my website, the large images go to the photo gallery and play in a slide show, while the smaller images are uploaded to my blog. When editing a file (usually a .jpg) I always save the edited file as a .psd, this way it is not being compressed again because this script saves as a .jpg which will compress the image (too many compressions is a bad thing).
Want to use this script? It is fairly easy to get started.
- Download Automator Action Scripts Pack (This link is for CS4, that site has some for other versions of photoshop but my automator script uses the CS4 pack, I cannot guarantee results from other packs but it should work the same)
- Unzip the file, save the .pdf file somewhere (it is very useful to know make your own scripts later), and then run the Installer file
- Download my Auto Photo Processor script (bottom of this post)
- Go to your applications directory, hold down the option key while you launch Automator (This will tell it to check for the newly added action scripts)
- Once it opens click on the button “Open an Existing Workflow” and select the Automator script you downloaded from this site (link at the bottom of the page)
- Edit the following actions: Move Finder Items, Edit IPTC Info, Fit Image, Render and the final Move Finder Items to use your own info, image sizes, and directories to move the files to (the directories must already exist)
- That’s it!
Get Specified Finder Items
This tells the script to grab whatever files you drop on to the scripts icon. It is the easiest way to run the script.
Move Finder Items
This is where all of the items get moved to, I use a folder called “Originals” (the .psd files will be moved from here later).
Filter Finder Items
This filters out all of the files and only passes .psd files to be processed by the rest of the script
This is required before any images can be processed, leave it where it is.
Edit IPTC Info (Large)
Here you can add your own copyright info to the images, if you do not want to add copyright info then delete this action (the X on the right hand side). Please change it so you do not give me the copyright to all of your photos.
Fit Image (Large)
This resizes the image to fit within a certain width and height. If the image is smaller than what you enter then it will be downsized to have a width or height no larger than what you selected. It will keep your image in proportion. So if you enter 500×500 and your image is 800×400 then it will be downsized to 500 x whatever is proportional (250 I’m guessing?). So enter the size of your image here.
This is what actually edits the files and saves them. In here select “JPG” (Or whatever you want to save your images as) and you can change the name of the file as well as where it is saved to.
This will reopen the original files to get them ready for another size change. If you do not want a second file size then delete this and everything that is labeled (Small), otherwise leave this where it is.
Edit IPTC Info (Small)
Same exact thing as above but used for the smaller version of the image. Delete this if you do not want a second image size
Fit Image (Small)
Same exact thing as the Large version but used for the smaller image. Change what size you want it downsized to (I have 800×600). Delete this if you do not want a second image size.
This is what actually makes the changes to the images and saves them. Change the directory and name (just like you did above). Delete this if you do not want a second image size.
Move Finder Items
This moves the .psd files to a “Done” folder. Please select a directory that actually exists.
If you have any questions please feel free to ask.
Photoshop Resize Automator (238.4 KiB, 315 hits)