Automatically Resize Huge Original Images Uploaded into WordPress

May 9th, 2014 - Posted by Steve Marks to Software, Web Development.

If you’ve built sites using WordPress and allow your clients to upload images to their pages and posts, you might quickly find that your site is getting filled up with huge images. And when I say huge, I mean HUGE! Over time this builds up and you end with a site clogged up with massive images that aren’t even being used on the site in question.

The issue is that if a user takes a photo with their camera, it will normally be in high resolution, thousands of pixels wide, and a few megabytes in filesize. Due to the fact that WordPress resizes the photo to multiple different sizes, it’s these resized versions that will more than likely be used, leaving the originals to just sit there and take up disk space.

The Solution

Fortunately a great plugin exists for this exact reason in the form of Imsanity:

http://wordpress.org/plugins/imsanity/

imsanity-options
Once installed you can decide what size the original images should be resized to. No longer will you end up with GB’s of unused imagery. Now these much smaller originals will take up a fraction of the size and the client can continue to upload photos as they were (although a little training on the matter probably wouldn’t go a miss).

This entry was posted on Friday, May 9th, 2014 at 4:05 pm by +Steve Marks and is filed under Software, Web Development. You can follow any responses to this entry through the RSS 2.0 feed.
Comments...

Fear not, we won't publish this

Comments (1)
  1. Patrick says:

    A definite +1 for Imsanity. I’ve tried other plugins and really big images either seem to break them or bypass them, but not with Imsanity.

    I get good results by turning the quality down to 50 – just be careful running it on images already in the Media Library!