Okay so you might need to do this from time to time, sometimes from a need to reduce filesize/hosting storage. Instead of having to reupload images or clog the place up with plugins, try this: go to the uploads folder, and then into each year and subsequent month folder. When you filter by “size” you will see the images and files ordered in a way that brings the largest to the top. If you have lots of images under, say 1500KB and one or two that are enormously out of step with that, it might be time to reduce those.
So save these to your desktop, or somewhere on your computer, and then go and get a program called XNVIEW.
1. Open XnView MP
Make sure you have it installed. If not, download it from: https://www.xnview.com/en/xnviewmp/
2. Navigate to Your Images
Use the file browser inside XnView to go to the folder containing the images you want to compress.
3. Select the Images
Use Ctrl + click or Shift + click to select multiple images. Or press Ctrl + A to select all images in the folder.
4. Go to Batch Conversion
- From the top menu, click on Tools → Batch Convert… (Or just press Ctrl + U)
5. Configure Batch Conversion
In the batch conversion window:
a. Input Tab:
- Make sure your selected images are listed.
- You can drag and drop more files here.
b. Output Tab:
- Set the Output directory.
- Set Output format (e.g., JPEG, PNG).
- Click Options… next to the format dropdown:
- For JPEG:
- Lower the Quality slider (e.g., 70–85 for good compression with minimal quality loss).
- Enable Progressive JPEG (optional).
- For PNG:
- Choose an optimized compression level (higher = smaller file but slower to process).
- For JPEG:
c. Transformations (Optional):
Click the Add Action button if you also want to:
- Resize the images (e.g., reduce dimensions).
- Convert color depth.
- Sharpen after resizing.
Reducing dimensions has a big effect on file size.
6. Start the Conversion
Once all settings are configured:
- Click the Convert button.
Tips for Best Results
- For web use, resizing and setting JPEG quality to around 75–80% usually gives a good balance.
- If file size is critical (e.g., under 100 KB), consider resizing to smaller dimensions.
- You can save your settings as a profile to use again later.
Then simply upload your new reduced photos to the folder where you got them, and they will overwrite. You should still have the originals stored on your computer. Once you refresh your webpage, you should see them load a little quicker. You can safely delete the larger images if you wish (or keep them somewhere out of the way)