We explained how to save a photo for use on our application form. We'd like to expand on that now with a short tutorial on how NOT to take a photo
Smaller Image Using Short Pixel
Reading Time - 3 mins
Last Updated on Wednesday, April 12, 2023
Smaller Image Using Short Pixel
Just in time for the seasonal rush, we’ve now got a way to use smaller image sizes with no difference to the full image. Webmasters read on…
After messing around with a couple of softwares for file reduction (that’s file-size without losing any quality), we came across something called ‘Short Pixel’.
First, we’d better explain what all of this is about:
No doubt you’ve been on websites, be they provider websites or vanilla ones that contain images.
Images can take up to 60% of the time in the website loading, which is why we’ve always gone in for .jpg, or .png, or .gif reduction to reduce the loading time of the website.
There’s now a new kid on the block though in a Google file variant called .webP, which aims to load all of the jpegs, pngs and gifs even faster than the routine image reduction, and you’re actually seeing that on the Midlands Maidens website today!
Lets see an example then:
This first photograph was downloaded in all of it’s natural glory from WALLHERE.COM, with no image optimisation applied at all. Really nice, but it’s bloody HUGE!
Compare that image with this one, that we ran through Short Pixel and added a .webP identifier to it, that comes in at just over 89% smaller:
See the difference? Well we can’t, so we’ll go with the smaller one.
There is one drawback though – not all browsers on pc’s and mobiles are able to view .webP images.
If this is the case, Short Pixel creates yet another image as a fallback, so that those of you using Firefox, or iPhones, or Edge browser do not miss out.
The fallback involves adding a new tag, <picture> to the image which makes the image show up on those browsers, even though they won’t be seen in full webP glory.
Here’s a diagram (again optimised by Short Pixel for a png image this time) that shows you which browsers are dragging their heels:
So there you go, if you wanted to view images in a smaller file format, stay away from Internet Explorer and Edge, and any iPhone or Safari browser, and come into the real world. Firefox are trying bless them, but at the time of writing, they still don’t support webP.
Oh, and whilst we’re here, here’s the two images from earlier in a side-by-side format so that you can directly compare them without scrolling:
We hope that you enjoyed our post on the Short Pixel software, and that webmasters will now be rushing to try it out!
Originally posted on Midlands Maidens Nottingham Escorts by the NEWS team.
Credits:
Lead image and smaller image test photos: Wallhere
WebP Diagram:
Using WebP Images in APS.NET with a fallback to JPEG and PNG
WebP images in ASP.NET with fallback for browsers not supporting WebP
Photo Compression by:
Image Optimization and Compression Plugin for WordPress and API by ShortPixel
ShortPixel is an image optimization and compression API and WordPress plugin that helps improve your website performance.
Comments (0)