Are your images horribly scrunched and skewed?

July 1st, 2015 Posted by Uncategorized 0 comments on “Are your images horribly scrunched and skewed?”

Bad news on laptop screen

We have all visited websites where the images load very slowly one line at a time or we’ve seen horribly scrunched and skewed images being forced into some weird size. Using properly sized images on your website makes your website look more professional, and it loads faster! This is crucial when visitors are looking at your site on their phones. Here’s what we look for when we are resizing images for use on the web; file size, file type, desired dimensions and cropping.

File Size

Most photographs taken with a phone or digital camera are well over 1 MB (megabyte) in size. While 1MB isn’t extraordinary in size and likely wouldn’t take too long to download on a high speed connection, having an image that large on your site is not necessary. An image that is a MB (or 1024 kilobytes) can typically be resized using an image editing program to be much smaller (usually less than 100kb). Resizing your images before you load them on to your website will keep the site loading quickly and keep the quality of your images in tact as the browser won’t have to resize or reshape the image to fit the location.

File Type

Images come in many formats; jpeg, gif and png are a few of the more common file types. So how do you know what to use and when?

  • Jpg or jpeg – typically when we are using a photograph on a website, we will reduce the file size and save it as a jpeg. Jpegs were designed to make detailed images as small as possible by removing information that the human eye won’t notice. Jpeg is a good file type for a photograph or an image with a gradient. However, jpeg is not good for logos and line drawings as it tends to make them fuzzy.
  • Gif and Png – Gif and png files use lossless compression, meaning that you can save the image over and over and never lose any data (unlike a jpeg). This makes gifs and pngs good for logos, line drawings and other simple images that need to be small and crisp. These file types can also be transparent which makes them useful on websites when designing layered files. Depending on how your image was created and how you will be using the image, a png and gif file can be larger in size than a jpg.

Desired Dimensions

Creating an image to fit an exact area can be tricky. Typically when we are talking about dimensions for a website image, we are speaking “pixels.” A really wide website image might be 1900 pixels wide while your standard “about us” profile picture would be closer to 250 pixels wide.

A custom home builder recently sent us a group of photos to use on their homepage slider. The slider has fixed dimensions of 1000 pixels wide by 350 pixels tall. The images they sent us were taken by a professional photographer and they were huge (roughly 7MB each and approximately 6000 pixels wide by 4000 pixels tall). If we had loaded the images in their native file format, with no reduction, the image quality would have suffered when it rendered on the website. Here’s what we did: first, we reduced the image file size by running it though an image resizing program. The program we use is called PixResizer by BlueFive Software. It is freeware and can be downloaded from BlueFive Software. When we resized the images provided to us by our client, we chose to reduce the width of all the images to 1000 pixels which would fit our slider perfectly. However, the height of the image was still too tall for our slider. In this case, we also had to crop the image to make it fit our exact dimension.

Cropping

In our example above, we had an image that was the correct width, however, the height was too tall. The image was 1000 pixels wide by 667 pixels tall. We needed an image that was 1000px x 350px. For this group of images, we needed to crop them in order to make them the right size for the slider we were using. Cropping can be tricky as you are actually cutting out part(s) of the image in order to make it a specific size. To do the cropping to specific dimensions you can use an online source like PicResize or a software program like Photoshop.

Properly sized images can make your website look and function better. If you aren’t sure if the images on your site are sized correctly for the location you can check it by going to your website and then right clicking on the image in question. Select the option to “View Image Info.” Under dimensions, you’ll see a pixel skewedpicsdimension (for example: 1,000px x 471px). If it shows that the dimensions have been scaled to a certain pixel size  you may want to resize the image outside of the website and then re-upload it with the proper dimensions. In this example a very large, 10MB 4,000 px wide picture has been forced into a tiny 152px wide space. Resizing this image and then re-uploading it to the site will increase the load time of this website.

 

Kevin's Sig

 

Tags: , , , , , , , ,

No comments yet. You should be kind and add one!

Leave a Reply

Your email address will not be published.

<small>You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:<br> <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>