Top Banner
ptimizing Your Images to Improv Site Performance and SEO By Steve Mortiboy
21

Optimizing images in WordPress to improve site performance and SEO by Steve Mortiboy

Aug 14, 2015

Download

Internet

Steve Mortiboy
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Optimizing images in WordPress to improve site performance and SEO by Steve Mortiboy

Optimizing Your Images to Improve Site Performance and SEO

By Steve Mortiboy

Page 2: Optimizing images in WordPress to improve site performance and SEO by Steve Mortiboy

Considerations

• Embedding images in content• Image optimization• Retina images• Image SEO• Images for social media• Image caching and content delivery

Page 3: Optimizing images in WordPress to improve site performance and SEO by Steve Mortiboy

Embedding Images

Page 4: Optimizing images in WordPress to improve site performance and SEO by Steve Mortiboy

Embedding Images - Considerations

• File type • File size • Image dimensions• Image resolution• Number of images per page• Linking the image• Copyright

Page 5: Optimizing images in WordPress to improve site performance and SEO by Steve Mortiboy

Image File Types

• JPEG – Great for color imagesGreat for photographsSmaller file size

• PNG – Great for logos and background images

• GIF – Great for animated images

Page 6: Optimizing images in WordPress to improve site performance and SEO by Steve Mortiboy

Image File Size

• The smaller the better• Don’t compromise image quality• Preferably less than 100KB• Consider how many images are on you page

Page 7: Optimizing images in WordPress to improve site performance and SEO by Steve Mortiboy

Image Dimensions

• Width and height in pixels• Control default sizes in Settings, Media

https://codex.wordpress.org/Settings_Media_Screen• WordPress cannot increase the size of an image• Only thumbnails are cropped • You can customize the size of any image after it has

been added to a page or post• Beware oversized images

Page 8: Optimizing images in WordPress to improve site performance and SEO by Steve Mortiboy

Image Resolution

• Dots per inch (DPI)• Pixels per inch (PPI)• Only applies to printing• Affects image file size• The Myth of 72 DPI

http://photoshopessentials.com/essentials/the-72-ppi-web-resolution-myth/http://scantips.com/no72dpi.html

Page 9: Optimizing images in WordPress to improve site performance and SEO by Steve Mortiboy

Images Per Page

The more images on a page, the more you needto consider file sizes and page load times

Remember your mobile device users!

Consider using a gallery or slideshow such as- JetPack Tiled Galleries http://jetpack.me/support/tiled-galleries/- JetPack Carousel http://jetpack.me/support/carousel/

Page 10: Optimizing images in WordPress to improve site performance and SEO by Steve Mortiboy

Image Linking

• Media File• Attachment Page• Custom URL• None

Page 11: Optimizing images in WordPress to improve site performance and SEO by Steve Mortiboy

Image Ownership

• Free photos• Just because you found it doesn’t mean you

can use it• Images can be copyrighted and licensed• There are different types of licenses• Creative Commons search tool

https://search.creativecommons.org/• Use with attribution• Stock photos

Page 12: Optimizing images in WordPress to improve site performance and SEO by Steve Mortiboy

Image Optimization

• Lossless compression reduces file size without losing quality

• Lossy compression reduces file size with possible loss of quality

• Goal is to reduce a 2MB image to 100KB• It always depends on the original image

Page 13: Optimizing images in WordPress to improve site performance and SEO by Steve Mortiboy

Image Optimization Tools

• Adobe Photoshop - Save for Web• ImageOptim for Mac (https://imageoptim.com/)• TinyPNG (https://tinypng.com/)• JPEGmini (http://www.jpegmini.com/)• EWWW Image Optimizer plugin

Page 14: Optimizing images in WordPress to improve site performance and SEO by Steve Mortiboy

Retina Images

• Retina displays are common on iPad and iPhone• Retina images should be double the displayed size• Plugin method: WP Retina 2x• Use SVG image files • HTML method:

<img src=“image-800x600.png" width="400" height="300”>

Page 15: Optimizing images in WordPress to improve site performance and SEO by Steve Mortiboy

Image SEO

• Image filename• Title attribute• Alt text• Attachment page• Include images in your XML sitemap

Page 16: Optimizing images in WordPress to improve site performance and SEO by Steve Mortiboy

Images for Social Media

Page 17: Optimizing images in WordPress to improve site performance and SEO by Steve Mortiboy

Image Sizes for Social Media

• Facebook images should be 1200px by 630px• Twitter images should be 1024px by 512px• Pinterest images should be 735px by 1102px• Instagram images should be 1200px by 1200px

Page 18: Optimizing images in WordPress to improve site performance and SEO by Steve Mortiboy

Image caching and CDN

• JetPack Photon (http://jetpack.me/support/photon/)• WP Super Cache• W3 Total Cache• MaxCDN• Amazon CloudFront

Test using Google PageSpeed Insightshttps://developers.google.com/speed/pagespeed/insights/

Page 19: Optimizing images in WordPress to improve site performance and SEO by Steve Mortiboy

Questions?

Page 20: Optimizing images in WordPress to improve site performance and SEO by Steve Mortiboy

Steve Mortiboy

Sales [email protected] | @wpsmort

Page 21: Optimizing images in WordPress to improve site performance and SEO by Steve Mortiboy

Semper Fi Web Design• Support• Security• Performance

• Development• Design• SEO

http://semperfiwebdesign.com