Batch image downloading and renaming isn’t something you’ll use often, but when you do, doing it in bulk can really save you quite a bit of time.
Why would you want to do it?
Well, plenty of reasons. From migrating images, wanting to bulk optimise their file names, or downloading imagery from brands for products you sell.
Using the attached Excel file, you can insert all the new image names, along with their current source URLs, and the macro will download all the images, give them the new names, and also save them as .jpg files no matter their source extension.
How to batch download & rename images with Excel
The following is the process on how you can bulk download and rename images;
1. Download and open the Excel image downloader
2. Click on Developer > Macros and then hit edit on the selected one in the file
3. Edit the folder path that is highlighted, with it needing to point to a folder that currently exists. This is where the new renamed images will be downloaded to. If you point it to a folder that doesn’t exist, it won’t visually create the folder. However, if you create the folder after the fact, all the files will be there. So, yeah.
4. Insert all the new image names in
5. Click on ‘macros’ and then click run on the selected macro
You’ll now get ‘File Downloaded Successfully’ on all the files that have downloaded okay.
You’ll see an error if it doesn’t work, with most errors I have seen attributed to being blocked by the source you’re scraping. Depending on the use, you can ask for your IP to be unlocked, but sometimes it’s just quicker to throw on a VPN.
Another issue I have seen is that if you include an extension in the name, you will end up with double image extensions like .jpg .jpg. You can modify the script by dropping the .jpg extension that’s included if you really want, but it’s just easier to exclude the extension names.
Successful batch download & rename images to JPG
You should have no successfully downloaded and renamed all the images you will need, extremely fast.