Why Important Images Optimization
We all they know the basics rules to follow to ensure a nice, accessible and speedy website: architectural, efficient design, and coding good content, well optimizes Images and good hosting. The topic in hand is compressed images today and we hope to give you some well-timed advice…
Image size was very important in the technologies space when building websites 10 to 15 years ago when compression was not an option, but now since most of the internet connections have a stabilized and are considered fast it should not matter.
It should be noted that if your audience is placed in the developing nations, then it is important that you have a fast loading website which does not get bogged down by big and clunky images which will slow down your site. Now, even Google will look at websites which are optimized correctly, ranking it higher than a similar site which has un-optimized images.
Why Image Optimization matters
Most designers and developers enjoy that the website is loaded with well-chosen and optimized images, but it still amuses me to see the website which loads slowly because of images load in three to four stages.
It is no shock to find that the picture is a thumbnail picture which is 12 MP in size. The pictures are captured by a camera and transferred to the website to be using as the thumbnail image for a news story.
The original image is 5 MB in size and the dimensions are about 3000 pixels and 4000 pixels in size. In practice, the image should be depreciation to 1000 pixels in size and uploaded to the site. This, in turn, will be creating to another smaller version for use as the thumbnail, thus creating a very small 30 kb file rather than one 1666 times larger.
The thumbnail which is 5 MB in size will take 3 seconds to load while the compress will take less than a fraction to load. Think about that if the entire page were loaded up with thumbnails.
Logos and icons
If for icons and logos, use SVGs made from vector shapes. SVGs will scale correctly for all devices. Otherwise, use transparent 8-bits PNGs. Never use and save a single colour file as a compressed JPG, it makes them look like them have been bashed.
Use JPG for photos. If you are using a program like Photoshop, it is easy to forget to change the output type after saving out a load of PNG files, for example, so check you’re saving out as JPG and reduce the quality down to 50%. The reduction in quality would not be noticed by the user.
Diagrams and infographics
Like logos and icons, solid colour graphics should be saved out as 8bit PNGs or good old GIFs. If you have a PNG file which opens up and shows a lot more details than what is being displayed, upload the file on the suitable page and add a zoom icon to have the full-size files are open in the popup. There is nothing wrong with a pop-up that the user has clicked to open.