Using Photoshop actions and Tinypng plugin to batch resize images for WordPress upload

Below is a tutorial on the basics of batch processing product images for uploading to your Woocommerce store. Instructions for installing and using the TinyPNG and TinyJPG plugins in Photoshop

In order to compress the images after resizing, you will need to buy and install the Tinypng Photoshop plugin. Available here:

https://tinypng.com

The instructions for installing the neccesary TinyPNG Photoshop scripts for automation are here:

https://github.com/tinify/photoshop-scripts

If you would prefer to create a batch process (rather than use the scripts– useful if you want to automate even more of this workflow), here’s a link to good step-by-step instructions on how to create an Action to batch process with TinyPNG Plugin:

https://forums.tumult.com/t/compression-of-pngs-and-jpgs/8088/3

The link to download the TinyPNG Photoshop plugin scripts you will need to install:

https://github.com/tinify/photoshop-scripts/tree/master/Adobe%20Photoshop/Presets/Scripts

You will only need the first three scripts from the download page.

Screen cap of the TinyPNG plugin automation scripts in my Scripts folder (Mac)

If you would like to use the Photoshop resizing actions I created to do the initial resize processing of the images, first download my Nick’s Actions.atn file from Dropbox.

There are two actions in the file, one to convert images to 800×800 square, and one to resize an image to a max size of 1024 in either orientation (so you can see the difference in the two, the 800×800 resizes the canvas to make the finished image square, the 1024×1024 action does not).

Dropbox link to actions:

https://www.dropbox.com/s/36cryo6uehgtod1/Nick%27s%20Actions.atn?dl=0

To install the actions, follow this from Adobe:

https://helpx.adobe.com/photoshop/kb/migrate-actions.html

To create your own set of actions, check out this Adobe tutorial:
https://helpx.adobe.com/photoshop/using/creating-actions.html

Below is a screen cap of the order actions I recorded to create the two actions. The “File or folder not found.” warning under Open in each action is AOK. You will point Photoshop to the files during the batch process.

Photoshop actions for batch resizing of images.
 

Before you begin the batch process, make sure all of the images you want to process are in one folder. Create a new folder for the destination of the process images.

In this example, I have the original supplied files at high resolution, in various formats (.tif, .jpg, etc.) in the SUPPLIED ORIGINALS folder.

*If you have layers Photoshop .psd files in your originals folder, you will have to add an extra step in the actions to flatten the layers right after opening.

The 800×800 folder will be my processed images destination folder.

Remember, all images in the folder will be processed, regardless if they are in subfolders. The original images will remain unchanged, the actions will create new versions.

Source and destination folders
To batch process using Scripts on a Mac.

Once the actions have been loaded into Photoshop and your folders and original images are good to go, go to File>Automate>Batch to begin the batch process.

The Batch dialog window will open. Here are the settings I used in this example:
 

The source folder will be your original images. Check the boxes below the file path. You can set the error file destination, if you like. It is useful for troubleshooting.

On the right side, choose the Destination folder you created, Beside to check the Override Action “Save As” Commands to append the processed file names.

In this example, I wanted to add Schooner Bay Co as the first part of the file name, be sure to add a space, – or _ to separate the name from the rest of the file name information (otherwise it will all run together). I don’t need a space after document name (which is the original file name minus the extension). The _ in _800x800 will separate that part from the original file name.

You shouldn’t have to worry about checking any of the Compatibility boxes in this case.

No click OK and watch the magic happen. If you have a lot of images and they are large, you might want to separate the originals into batch folders (you can still use the same destination folder).

My original files folder in the case was 15.04GB, big and I processed the entire folder in one go. I just went and got a beer (or two), it took about 2 hours to process on my late 2013 MacBook Pro with 8GB RAM.

Below are the finished files vin the destination folder with their now more SEO friendly naming convention:

Now time to Tinyfy!

Once you have processed your images to 800×800, it’s time to compress them. Tinypng is the best compression I’ve found- it’s tough to tell the original from the compressed file.

If you are a nervous nelly and don’t want to take the chance of ruining all of that hard batch processing work- you can create a new folder for the images you are about to compress and append the 800×800 name with tiny, or whatever will hep you identify the difference. Then duplicate all of the images from the 800×800 folder in the new 800×800 tiny folder. If you don’t have the hard drive space, skip this and rejoice in the risk you rebel, you.

To begin the tinyfy batch process, go to File>Automate>Compress Folder with JPEG Images … (Mac) or Scripts>Compress Folder with JPEG Images … . We use this choice because when we ran the 800×800 action, it converted our processed files to .jpg format. How awesome is that?!

If you want to compress a single .png or .jpg file, choose the Compress File … option and then choose the file you would like to compress.

TinyPNG Compress Folder with JPEG Images … (Mac)
TinyPNG plugin batch compression Windows Photoshop CS5

This dialog box will pop up. Scare tactics!

The Compress Folder with JPEG Images … option in Automation will overwrite the files in the chosen folder with the compressed version.

Click Yes to then choose which folder and files you are going to compress.

As I’m a rebel and didn’t copy my 800×800 images over to a new 800×800 tiny folder, I’m going to compress the 800×800 folder.

Choose the folder you want to compress and click open to begin the process.

If you have a lot of images, this could take a an hour or two (or more if you computer is slow).

From 58 KB to 15 KB, now that’s some space savings!

As an example of why this is important to do for the sake of your sites size and speed. Here’s the file size of the originals, the 800×800 processed images and then the tinyfied folder info. for comparison:

That’s some serious disk space savings!

Sign up and earn $1000 a day ⋙

How to Copy Partition to Another Drive in Windows 11/10/8/7

How to Copy Partition to Another Drive in Windows 11/10/8/7

In Windows 11, 10, 8, and 7, you can quickly copy a partition to a different drive using the flexible disk cloning tool AOMEI Partition Assistant.

Driver Booster 12 Free: Keep 9.5M+ Drivers Up-to-Date in 1-Click

Driver Booster 12 Free: Keep 9.5M+ Drivers Up-to-Date in 1-Click

Driver Booster 12 Free is an effective tool that will keep your computers drivers up to date, which will make the system run faster and more reliably. This driver updater from IObit keeps your PC running at its best by checking for lost, out-of-date, or broken drivers immediately.

Advanced SystemCare 17 Free Review 2024 - Your Best PC Optimizer

Advanced SystemCare 17 Free Review 2024 - Your Best PC Optimizer

In an era where digital efficiency is paramount, Advanced SystemCare 17 Free emerges as a beacon for those seeking to enhance their PC's performance.

Summary of Movies & TV application shortcuts on Windows 10

Summary of Movies & TV application shortcuts on Windows 10

Summary of Movies & TV application shortcuts on Windows 10, Summary of Movies & TV application shortcuts on Windows 10 to bring you a great experience. Maybe

How to fix Messages Failed to Load error on Discord for Windows

How to fix Messages Failed to Load error on Discord for Windows

How to fix Messages Failed to Load error on Discord for Windows, Discord isn't fun if you can't read what other people write. Here's how to fix Messages error

How to display the This PC icon on the Windows 11 desktop

How to display the This PC icon on the Windows 11 desktop

How to display the This PC icon on the Windows 11 desktop, During the process of using Windows 11, many users need to access This PC (management).

How to find information in the Windows Registry quickly

How to find information in the Windows Registry quickly

How to find information in the Windows Registry quickly, Do you find it difficult to find information in the Windows Registry? So below are quick ways to find the registry

How to limit the number of failed login attempts on Windows 10

How to limit the number of failed login attempts on Windows 10

How to limit the number of failed login attempts on Windows 10. Limiting the number of failed password login attempts on Windows 10 helps increase computer security. Here's how

How to create fake error messages in Windows

How to create fake error messages in Windows

How to create fake error messages in Windows, Windows can come up with some pretty creative error messages but why don't you try creating your own content for them to make fun of?

Ways to open Windows Tools in Windows 11

Ways to open Windows Tools in Windows 11

Ways to open Windows Tools in Windows 11, Windows Administrative Tools or Windows Tools are still useful on Windows 11. Here's how to find Windows Tools in Windows 11.

How to fix Windows Quick Assist not working error

How to fix Windows Quick Assist not working error

How to fix Windows Quick Assist not working error, Windows Quick Assist helps you connect to a remote PC easily. However, sometimes it also generates errors. But,

How to pin Word, Excel and PowerPoint files to the corresponding app icon on the Windows 11 taskbar

How to pin Word, Excel and PowerPoint files to the corresponding app icon on the Windows 11 taskbar

How to pin Word, Excel and PowerPoint files to the corresponding app icon on the Windows 11 taskbar, How to pin Office files to the taskbar icon on Windows 11? Invite

How to fix the error of not being able to install software on Windows

How to fix the error of not being able to install software on Windows

How to fix the error of not being able to install software on Windows, Why can't you install apps or software on Windows 10/11? Here's everything you need to know about how to fix it

Instructions for deleting or changing PIN on Windows 11

Instructions for deleting or changing PIN on Windows 11

Instructions for deleting or changing the PIN code on Windows 11, In Windows 11, the PIN code is a very useful and convenient security tool for users. However some people

How to fix There Are Currently No Power Options Available error in Windows 10

How to fix There Are Currently No Power Options Available error in Windows 10

How to fix There Are Currently No Power Options Available error in Windows 10, Can't select power mode in Windows 10, what should I do? Here's how to fix the error

The simplest way to fix Photos application errors on Windows 10

The simplest way to fix Photos application errors on Windows 10

The simplest way to fix Photos app errors on Windows 10, what should I do if Microsoft Photos doesn't work? Don't worry about ways to fix Photos app errors on Windows

Instructions for installing keyboard shortcuts to switch input languages ​​on Windows 11

Instructions for installing keyboard shortcuts to switch input languages ​​on Windows 11

Instructions for installing shortcuts to switch input languages ​​on Windows 11. During the process of using Windows, users will often have to switch between methods.

How to check supported power status on Windows 11

How to check supported power status on Windows 11

How to check power status is supported on Windows 11, Windows 11 can handle many different power states. Here's how to check the power status

How to switch from 2.4GHz to 5GHz in Windows 10

How to switch from 2.4GHz to 5GHz in Windows 10

How to switch from 2.4GHz to 5GHz in Windows 10, If you want to find a quick and simple way to speed up the Internet, changing the WiFi band from 2.4GHz to 5GHz may help.

How to fix Not Enough Memory to Run Microsoft Excel error on Windows

How to fix Not Enough Memory to Run Microsoft Excel error on Windows

How to fix Not Enough Memory to Run Microsoft Excel error on Windows, Are you having an error of not enough memory to run Microsoft Excel? So, how to fix Not Enough Memory error