An on-line exchange following my recent blog about my bad habit of not editing and sorting my photographs produced a minor cri de coeur from Cathy who has a media storage crises on her WordPress site Rambling in the Garden.
WordPress has many virtues, and that fact that it requires very little technical expertise is probably why its basic platform is so popular. It provides 3GB (gigabytes) of storage for image files which superficially may seem an enormous amount of space, but it fails to make one very important fact clear – that although it will optimise your images when it puts them on-line, it does not alter the size of the uploaded images in the media library. If this piece of information leaves you with a blank expression please stick with me and I’ll explain, if you’re technically savvy please go and have a cup of tea and plant a few seeds, or skim through just in case there is something that might be useful.
Back to basics:
- The size of a file, image or text, is measured in kilobytes, megabytes or gigabytes. There are 1024 kilobytes in a 1 megabyte and 1024 megabytes in a gigabyte – to make the sums easy work in 1000s.
- The larger the size, the more space it takes on your computer hard drive, or the server provided by website host (in this case WordPress) and the longer it takes to load on the internet i.e. an image of 300KB will appear on your webpage more quickly than an image of 3MB.
- When you download your photographs from your camera to your computer they are usually in a jpg or jpeg format. The dimensions this image are given in pixels and it will have a resolution given in pixels per inch (or cm) and a file size in kilobytes or megabytes.
e.g. the original image of the violets was 4288 x 2848 pixels, at 240 pixels/inch with a file size of 3MB (megabytes).
- This is far too large for my needs as the maximum width for images on my blog is 748 pixels, so if I reduce the size of my image to 748 pixels wide, the file size is reduced to 1MB.
You can find the maximum image width for your blog by inserting a large image into a draft post and then looking at your post under the “Text” tab where you will see the dimensions of the image as inserted by WordPress. The size will vary depending on your theme. If you intend to use a smaller image you can change the size of your image accordingly.
- The maximum resolution for images on the internet and computer screen is 72 pixels/inch, therefore if I reduce the resolution of my images from 240 to 72 px/inch, the file size will decrease accordingly, in this case to 157KB (0.157MB). There will be no reduction in picture quality when viewed on the internet or your computer but it will load faster.
Please note that for printing you need 300 pixels/inch; therefore you should make a copy of your original photograph to optimise for website use.
- If I upload a copy of the original photograph into my WordPress media folder the image information will show the dimensions as 4288 x 2848 pixels with a files size of 3MB. However when I publish the post WordPress will optimise the image and on-line it will show a size of 748 × 497 pixels with a file size of 133KB.
To view this information, right-click on the image and select view image information from the pop-up menu.
- Although WordPress will optimise my image, it will not reduce the size of the image stored in the media library, it will continue to use 3MB of the 3GB of storage. However, if I upload an “optimised” file it will only use 0.157MB. Therefore if you can reduce the size (optimise) of your images before you upload , you will be able to maximise your storage allocation.
The are various ways of optimising images, the process is very simple but the choice of method is more complex and depends how much you want to get involved in the process.
- If you use image editing software such as Photoshop, you should be optimising your images as the final part of the process of preparing your photographs for publishing on your website.
Photoshop is an expensive option and should only be chosen if you intend to edit your photographs. There are other good and less expensive options, including some free open source packages such as GIMP and Paint.NET.
- There are various on-line packages which will optimise your images for you. A quick search on Google will provide a list for you to browse
- There are a number of WordPress plug-ins for optimising images e.g. Imagify, ShortPixel, Imsanity.
I use Photoshop and I have not used any of the WordPress plug-ins or the on-line sites so I am not making recommendations just suggesting some of the options to consider. I would probably start with the WordPress plug-ins. Some of the on-line options offer very high levels of image compression, but if you reduce the file size too much you will risk reducing the quality of the image.
I hope this helps.