Connect with us

WordPress

3 Image Optimization Tips for Faster Speeds & Higher Rankings

Published

on

3 Image Optimization Tips for Faster Speeds & Higher Rankings


Some people are visual learners, some kinesthetic, and others auditory. But I’d argue the majority of us are impatient learners.

We demand websites to load in an instant and our questions to be answered directly. This is why search engines prioritize websites with faster page speeds, especially over mobile devices.

In many cases, images are the number one issue affecting website load times.

We all understand that high-quality images contribute to positive user experience, but I wonder have we drank too much of our own Kool-Aid?

A 2016 Google and SOASTA study confirmed that complex webpages with more images had lower conversion rates than webpages with fewer images.

While some websites may benefit being “image-heavy”, we should really look at page speed as a scarce resource. The more we dedicate this resource to loading large, bulky resources, the less effective it will be.

With Google’s redesigned PageSpeed Insights, a lot of people are confused about what it means to serve images in “next-gen formats” and what browser support exists to satisfy Google’s concerns.

3 Image Optimization Tips for Faster Speeds & Higher Rankings

Additionally, many people are still relying on old technologies to compress and serve images on their website.

Read on for some pragmatic tips to help you optimize images for faster page speeds while preserving your UX.

1. Use Images Responsibly

Minimalistic design often lends itself to good user experience because it provides greater performance. But you need to ask yourself whether an image is absolutely critical to your design.

For more dynamic webpages, it can be tempting to make images interactive and even a focal point of your design.

Unless you’re a photographer, you can leverage alternative resources instead of images to improve your UX, such as:

  • CSS3 for interactive elements.
  • Scalable vector graphics for simple logos and designs.
  • Embedded videos instead of bulky GIFs.

In fact, vector images tend to maintain greater resolution when being loaded on higher resolution devices.

Furthermore, instead of encoding text within images, which search engines can’t read, you could instead turn to web fonts which improve UX.

Within the PageSpeed Insights tool, you’ll often find that Google recommends deferring images offscreen to improve load outs. This essentially means moving images below the fold so at least the initial loadout for users is faster.

To accomplish this, you’ll need to optimize your critical path rendering.

There are a few methods to take to optimize your critical path rendering, such as minifying, caching, and compressing all on page resources (CSS, JavaScript, HTML).

Inline CSS delivery for header and main document module can also provide users with an instant loadout while all unused CSS and resources are loaded in the backend.

Additionally, you could prevent JavaScript blocking to prevent resources you wanted to be loaded from being loaded in the first load out.

While this is fairly complicated, there are tools to assist in WordPress.

W3 Total Cache caches and minifies virtually every resource in your CDN from HTML all the way to WordPress elements.

In addition, W3 Total cache can be used to optimize critical path rendering, such as using JavaScript unblocking with “async” and “defer” and other features that can help improve page loadouts without having to entirely get rid of images.

This tool also offers HTTP/2 capabilities to further improve loadouts.

2. Automate Image Compression

Probably the two best ways to optimize images for speed are by reducing their size and compressing their files. Image compression is incredibly easy with the right tools at your disposal.

If you’re working with WordPress, you can install Imagify and compress all of your images in bulk in one click. All further images that are added to your library will be compressed using this tool.

This plugin even offers an aggressive setting to compress JPGs and PNGs for massive speed boosts.

Imagify bulk compression tool

If you’re worried about plugins slowing down your site or are working with a more open-source CMS, you can use Image Optim to compress all of your images in a particular folder. It’s drag-and-drop features make it incredibly easy to compress images and then add them to your site.

Additionally, if you’re worried compressing images in your CMS and leaving large file sizes, you can also experiment with compression in the Adobe Suite or Affinity Photo.

In terms of resizing images for different devices, WordPress’s responsive design can do that for you using the ‘srcset’ attribute.

One important thing to keep in mind is that lossy compression may come with the potential to sacrifice the quality of your image.

At larger scale compression, lossy compression will eliminate greater bit depth and provide noticeably reduced file resolution.

3. Serve Images in Next-Gen Formats

Depending on your file format, you will have to use lossy or lossless compression.

Traditionally, we’ve relied on two image formats JPEG (lossy) and PNG (lossless compression).

But tools have begun recommending new image formats, especially for creating fast load speeds and maintaining smooth aspect ratios over mobile devices.

You can choose between a number of new formats, including JPEG 2000, JPEG XR, and WebP.

JPEG 2000 is much like traditional JPEG, but with lossless compression. This means that compressed JPEG 2000 files retain their metadata without much of a loss of quality.

JPEG XR supports both lossless and lossy compression at higher compression ratios.

Unfortunately, both of these formats are unsupported by most major browsers, including Google Chrome and Firefox. This means that you’ll need to have the JPEG or PNG format as a fallback regardless.

The only image format that’s supported by Google Chrome, as well as Firefox is WebP. WebP offers lossless and lossy compression, as well as support for animation.

There are a variety of WebP plugins to experiment with and you can convert a JPEG or PNG file to WebP using an online converter or Photoshop.

Of course, it’s ideal to provide a backup to a WebP file. To accomplish this, you’ll need to leverage the <picture> element in your HTML to provide backups.

Plugins like WebP Express for WordPress automatically do this in the HTML and can be used for bulk conversion in your library.

Ultimately, the option to serve images in next-gen formats is not too appealing considering limited browser support.

But leveraging formats like WebP to give your site images greater compression ratios and smaller file sizes over mobile devices will make a noticeable difference in page speed.

Additional Thoughts

Page speed over mobile is hard to maintain, especially on image heavy sites.

Responsive web design and other speed plugins can’t really account for large bulky file sizes and resources are trying to fetch on your site.

Fortunately, by automating compression, resizing files, and images more strategically you can drastically improve your page load speeds.

More Resources:


Image Credits

Featured Image: Pexels
All screenshots taken by author, April 2019





Source link

Continue Reading
Click to comment

You must be logged in to post a comment Login

Leave a Reply

WordPress

The dangers of misplaced third-party scripts

Published

on

The dangers of misplaced third-party scripts


I was recently helping one of my team members diagnose a new prospective customer site to find some low hanging fruit to share with them.

When I checked their home page with our Chrome extension, I found a misplaced canonical tag. We added this type of detection a long time ago when I first encountered the issue.

What is a misplaced SEO tag, you might ask?

Most SEO tags like the title, meta description, canonical, etc. belong in the HTML HEAD. If they get placed in the HTML BODY, Google and other search engines will ignore them.

If you go to the Elements tab, you will find the SEO tags inside the <BODY> tag. But, these tags are supposed to be in the <HEAD>!

Why does something like this happen?

If we check the page using VIEW SOURCE, the canonical tag is placed correctly inside the HTML HEAD (line 56, while the <BODY> is in line 139.).

What is happening here?!

Is this an issue with Google Chrome?

The canonical is also placed in the BODY in Firefox.

We have the same issue with Internet Explorer.

Edge is no exception.

We have the same problem with other browsers.

HTML parsing vs. syntax highlighting

Why is the canonical placed correctly when we check VIEW SOURCE, but not when we check it in the Elements tab?

In order to understand this, I need to introduce a couple of developer concepts: lexical analysis and syntax analysis.

When we load a source page using VIEW SOURCE, the browser automatically color codes programming tokens (HTML tags, HTML comments, etc).

In order to do this, the browser performs basic lexical analysis to break the source page into HTML tokens.

This task is typically performed by a lexer. It is a simple, and low-level task.

All programming language compilers and interpreters use a lexer that can break source text into language tokens.

When we load the source page with the Elements tab, the browser not only does syntax highlighting, but it also builds a DOM tree.

In order to build a DOM tree, it is not enough to know HTML tags and comments from regular text, you also need to know when a tag opens and closes, and their place in the tree hierarchy.

This syntactic analysis requires a parser.

An English spellchecker needs to perform a similar, two-phased analysis of the written text. First, it needs to translate text into nouns, pronouns, adverbs, etc. Then, it needs to apply grammar rules to make sure the part of speech tags are in the right order.

But why are the SEO tags placed in the HTML body?

Parsing HTML from Python

I wrote a Python script to fetch and parse some example pages with errors, find the canonical anywhere in the HTML, and print the DOM path where it was found.

https://gist.github.com/franciscobatista356/bd1fdb71c984ef3d1c6ad736ef6d4d96

After parsing the same page that shows misplaced SEO tags in the HTML Body, I find them correctly placed in the HTML head.

What are we missing?

Invalid tags in the HTML head

Some HTML tags are only valid in the HTML BODY. For example, <DIV> and <SPAN> tags are invalid in the HTML head.

When I looked closely at the HTML HEAD in our example, I found a script with a hardcoded <SPAN>. This means, the script was meant to be placed in the <BODY>, but the user incorrectly placed it in the head. 

Maybe the instructions were not clear, the vendor omitted this information or the user didn’t know how to do this in WordPress.

I tested by moving the script to the BODY but still faced the misplaced canonical issue.

After a bit of trial and error, I found another script that when I moved it to the BODY, the issue disappeared.

While the second script didn’t have any hardcoded invalid tags, it was likely writing one or more to the DOM.

In other words, it was doing it dynamically.

But, why would inserting invalid tags, cause the browser to push the rest of the HTML in the head to the body?

Web browser error tolerance

I created a few example HTML files with the problems I discussed and loaded them in Chrome to show you what happens.

In the first example, I commented out the opening BODY tag. This removes it.

https://gist.github.com/franciscobatista356/95c41ad6be7202023734092cc4c03307

You can see that Chrome added one automatically. 

Now, let’s see what happens if I add a <DIV> inside the HTML HEAD, which is invalid.

https://gist.github.com/franciscobatista356/d9cc6a6fcbe326f8bdbc3f6d2d0eb5ce

This is where it gets interesting. Chrome closed the HTML HEAD early and pushed the rest of the HEAD elements to the body, including our canonical tag and <DIV>.

In other words, Chrome assumed we forgot an opening <BODY> tag!

This should make it clear why misplaced tags in the HEAD can cause our SEO tags to end up in the BODY.

Now, let’s look at our second case where we don’t have a hardcoded invalid tag, but a script might write one dynamically.

https://gist.github.com/franciscobatista356/b5239152867159ac1876c1a96ad807f0

Here you see that if a script writes an invalid tag in the HTML head, it will cause the browser to close it early as before. We have exactly the same problem!

We didn’t see the problem with our Python parser because lxml (the Python parsing library) doesn’t try to fix HTML errors.

Why do browsers do this?

Browsers need to render pages that our Python script doesn’t need to do. If they try to render before correcting mistakes, the pages would look completely broken.

The web is full of pages that would completely break if web browsers didn’t accommodate for errors.

This article from HTML5Rocks provides a fascinating look inside web browsers and helps explain the behavior we see in our examples.

“The HTML5 specification does define some of these requirements. (WebKit summarizes this nicely in the comment at the beginning of the HTML parser class.)

Unfortunately, we have to handle many HTML documents that are not well-formed, so the parser has to be tolerant about errors.

We have to take care of at least the following error conditions:

The element being added is explicitly forbidden inside some outer tag. In this case, we should close all tags up to the one which forbids the element, and add it afterward.

Please read the full article or at least make sure to read at least the section on “Browser’s Error Tolerance” to get a better context.

How to fix this

Fortunately, fixing this problem is actually very simple. We have two alternatives. A lazy one and a proper one.

The proper fix is to track down scripts that insert invalid HTML tags in the head and move them to the HTML body.

The lazy and quickest fix is to move all SEO tags (and other important tags) before any third party scripts. Preferably, right after the opening <HEAD> tag.

You can see how I do it here.

We still have the same invalid tag and script in the HTML head and the SEO tags are also in the head.

Is this a common problem?

I’ve been seeing this issue happening for many years now, and Patrick Stox has also reported seeing the same problem happening often to enterprise sites.

One of the biggest misconceptions about technical SEO is that you do it once and you are done. That would be the case if the sites didn’t change, users/developers didn’t make mistakes and/or Googlebot behavior didn’t change either.

At the moment that is hardly the case.

I’ve been advocating technical SEOs learn developer skills and I hope this case study illustrates the growing importance of this.

If you enjoyed this tip, make sure to attend my SMX West session on Solving Complex JavaScript Issues And Leveraging Semantic HTML5 next month. Among other things, I will share advanced research on how Googlebot and Bingbot handle script and HTML issues like the ones I mentioned here.


Opinions expressed in this article are those of the guest author and not necessarily Search Engine Land. Staff authors are listed here.


About The Author

Hamlet Batista is CEO and founder of RankSense, an agile SEO platform for online retailers and manufacturers. He holds U.S. patents on innovative SEO technologies, started doing SEO as a successful affiliate marketer back in 2002, and believes great SEO results should not take 6 months.

Continue Reading

WordPress

9 Best AMP WordPress Plugins for Speed, Search & Tracking

Published

on

John Lincoln


If you want your website to load quickly on a mobile platform, you should make use of Accelerated Mobile Pages (AMP) technology.

Fortunately, that’s easy to do if you’re using WordPress because there are quite a few AMP plugins available.

Even better: many of them are free.

You will, however, need to invest some time to configure them properly. You might even need to make some design tweaks.

Still, it’s worth the effort if Google rewards your site with a top rank in mobile search.

Quick note, before you try any of these AMP plugins for WordPress, make sure you:

  • Create a backup version of your website.
  • Ensure it works in your hosting environment.
  • Make sure it matches your goals for the site.
  • Have a developer on hand to make sure it can be configured properly.
  • Make sure it works with your theme.

Here are some of the best AMP plugins for WordPress in the market.

1. The Official AMP Plugin for WordPress

9 Best AMP WordPress Plugins for Speed, Search &#038; Tracking

If you’re unsure which plugin to choose from in this list, you almost certainly can’t go wrong with the one that’s designed by the official AMP project.

Here are some of its capabilities:

  • Support for core themes: The plugin is compatible with the “core” themes (such as Twenty Twenty).
  • Compatibility tool: Sometimes, it’s not possible to automate AMP markup insertion. When that happens, the plugin will show which components are causing problems so you can address them manually.
  • CSS tree-shaking: The tool will remove unused cascading style sheets (CSS) so you can stay under the AMP-mandated 50k limit.
  • AMP Stories: While still in beta as of this writing, the plugin enables you to create, edit, and publish AMP Stories.

You can also configure the tool to follow one of three template modes:

  • Standard: Use the AMP plugin for your entire site. There’s no need to separate AMP and non-AMP content.
  • Reader: Shows pages with a simplified design that meets AMP standards. Each page has a canonical URL as well as an AMP URL.
  • Transitional: Delivers AMP and non-AMP experiences with the same look and feel.

The plugin also receives frequent updates. If you’re someone who’s into always getting “the latest and greatest,” that’s another argument in its favor.

2. AMP for WP – Accelerated Mobile Pages

9 Best AMP WordPress Plugins for Speed, Search &#038; Tracking

One of the more highly rated options in this list is the AMP for WP plugin.

Yes, it even has a better average rating than the one produced by the official AMP project.

AMP for WP also offers a rich feature set that includes:

  • AdSense support.
  • Contact Form 7 support.
  • Email opt-in support.
  • Call To Action support.

In other words, if you want to transform your website into something resembling a mobile app and use it for digital marketing, this plugin might be your best bet.

The tool also plays nicely with some of the more popular WordPress SEO plugins, including Yoast SEO, All in One SEO, SEOPress, Rank Math, and The SEO Framework.

Additionally, AMP for WP also integrates with WooCommerce. If you’re selling products online, that feature alone can give you a nice competitive advantage.

The developers of the plugin offer premium support if you’d need a hand getting things up and running.

3. Schema & Structured Data for WP & AMP

9 Best AMP WordPress Plugins for Speed, Search &#038; Tracking

How would you like to add markup to your pages so that they appear as rich snippets in search results?

If so, then have a look at the Schema & Structured Data for WP & AMP plugin.

Please note: this option isn’t an AMP plugin per se. However, it supports AMP. That’s the important takeaway here.

The tool also supports 33 different schema types, including blog posts, news articles, local business details, recipes, products, and videos.

If the schema type you want to use isn’t supported, the developers say that you can request it and they’ll add it for you.

The tool even supports conditional display fields, so you get to decide which posts, pages, or other content gets marked up.

You can even import markup data from other schema plugins, including SEO Pressor and WP SEO Schema.

The premium version of the tool enables you to add reviews and offers priority support.

4. PWA for WP & AMP

9 Best AMP WordPress Plugins for Speed, Search &#038; Tracking

If you’d like to transform your website into a progressive web app (PWA), take a look at the PWA for WP & AMP plugin.

Use the tool to take your user experience up a notch with the latest and greatest web tech bells and whistles.

For starters, and most importantly for this article, the plugin offers full AMP support.

It also comes with UTM tracking, multi-site support, and a cache expiration option.

PWA for WP & AMP also offers a service worker feature that optimizes your website. That translates to faster load times for visitors.

And maybe best of all: the tool includes offline support. Visitors can load the site in a jiffy even when they aren’t connected to WiFi.

The premium version of PWA for WP & AMP gives you access to a loading icon library, calls to action, and data analytics.

5. Glue for Yoast SEO & AMP

9 Best AMP WordPress Plugins for Speed, Search &#038; Tracking

If you have the Yoast SEO plugin and the Official AMP Plugin for WordPress then you’re going to need the Glue for Yoast SEO & AMP plugin as well.

Why? Because it’s the “glue” that enables the two plugins to work together.

It also gives you an easy way to customize your AMP content.

Additionally, Glue adds rudimental styling so you can retain at least a little bit of the site’s look and feel for AMP visitors.

It’s developed by the same developer who created the Yoast SEO plugin.

6. AMP WP – Google AMP for WordPress

9 Best AMP WordPress Plugins for Speed, Search &#038; Tracking

This one appears to be a fairly new entry in the library of AMP plugins. As of now, it’s only got a thousand active installations.

Still, the AMP WP plugin demonstrates promise. According to the product description, you can get as much as a 5x faster load with the tool.

Also, the developer claims that it’s 100% compatible with Yoast SEO.

Here are a few other features you get with the plugin:

  • GDPR support (for Europe).
  • Slider support.
  • Related posts view.
  • Support for third-party analytics (like Google Analytics).
  • Ability configure AMP for specific taxonomies (tags and categories).
  • Optional sticky header.
  • Image lightboxes.

7. weeblrAMP CE

9 Best AMP WordPress Plugins for Speed, Search &#038; Tracking

The weeblrAMP plugin goes beyond what other plugins offer by empowering you to create a nearly complete AMP version of your entire site.

Additionally, weeblrAMP integrates with numerous other tools, including:

  • Disqus
  • Google Analytics
  • Google Tag Manager
  • Facebook pixel
  • Yoast SEO
  • Jetpack
  • WooCommerce
  • Contact Form 7
  • Gravity Forms

Also, the plugin also enables you to fully customize the AMP experience with template overrides.

As of now, weeblrAMP only has 700 active installs. However, it’s got a 4.5-star rating.

8. AMP It Up!

9 Best AMP WordPress Plugins for Speed, Search &#038; Tracking

AMP It Up! bills itself as another “set it and forget it” plugin. All you have to do is install and activate it and you’ve magically got an AMP-compliant website.

Truth be told, though, nothing is that simple. Especially in web development.

You’re going to have to do some manual configuration.

The tool offers support for:

  • GDPR
  • HTTPS
  • Google Analytics
  • YouTube
  • BrightCove

You can even add your own custom JavaScript to your AMP-enabled website. That gives you some flexibility with the functionality.

Additionally, AMP It Up! automatically adds social share buttons to your pages. You won’t have to fish around for another plugin for that purpose.

Also, the tool will automatically convert content with several pictures into an AMP-compliant carousel.

AMP It Up! only has a few hundred installs at this point but it’s got a 4-star rating.

9. AMP Stories for WordPress

9 Best AMP WordPress Plugins for Speed, Search &#038; Tracking

Want a way to create fast-loading full-screen content on the web?

You can use AMP Stories to get website visitors more engaged with your brand.

And yes, they’re just like Instagram Stories.

You can include images, animations, videos, audio, and text in your own AMP Stories.

If you like the idea of using AMP Stories, you should take a look at the AMP Stories for WordPress plugin. It enables you to create a Story by just filling out a form on a post.

The tool also enables you to include a URL on your Story. That can come in handy if you want to redirect people to another part of your site (for example, to place an order).

The pro version of AMP Stories for WordPress includes bookend management, support for extra content at the end of Stories, and Facebook integration.

The tool currently enjoys a 5-star rating.

Wrapping It Up

In this mobile era, you need a website that loads quickly on mobile devices.

Fortunately, that’s easy to do with AMP.

What isn’t so easy is to manually implement AMP technology on your website.

However, if you’re using WordPress, there are plenty of plugins that will do it for you.

If you haven’t already added AMP support to your WordPress site, why not grab one of the plugins listed here and get the ball rolling today?

More Resources:


Image Credits

All screenshots taken by author, December 2019



Continue Reading

WordPress

11 Important Image SEO Tips You Need to Know

Published

on

Anna Crowe


Think about the last time you uploaded an image to your website. Chances are you downloaded it from a stock photography site, uploaded it to the backend of your site, and then inserted it to the page.

This makes a shining example of image optimization, right? Not quite.

You’ve added a giant bowling ball weight to your site that’s slowing down the page speed. And, search engines can’t read your images without alt text.

Let’s change that.

Over 20% of all U.S. web searches happen on Google Images, according to 2018 data from Jumpshot.

SEO amateurs and pros alike know that optimizing images for your website is notoriously worth the time spent.

Dan Morgan at WebSpection got one of his photos to rank #1 in Google Images for “best person in Cardiff” in less than four days by optimizing his image.

And, Robbie Richards generated 150,732 visits by adding image alt tags, compressing images, and a few other SEO tricks.

Without proper image optimization, you’re wasting a valuable SEO asset.

It’s like the search engines are giving away Oreos and milk for free. But, you only take the Oreo. When in reality, the Oreo is way better dunked in milk.

Image optimization creates many advantages such as better user experience, faster page load times, and additional ranking opportunities. And, it’s becoming an increasingly more important role.

As Matt Southern pointed out, Gary Illyes’ statement on image search in a recent Reddit chat:

“We simply know that media search is way too ignored for what it’s capable doing for publishers so we’re throwing more engineers at it as well as more outreach.”

But which factors are most important to ensure your images are findable and don’t slow down your site?

Here are 11 important image optimization tips you need to know.

1. Choose the Right Format

Decoding all the various image format can feel like your first time ordering at Taco Bell. But, before you can start adding images to your site, you want to make sure you’ve chosen the best file type.

While there are many image formats to choose from, the PNG and JPEG are the most common for the web.

  • PNG: Produces better quality images, but comes with a larger file size.
  • JPEG: You may lose image quality, but you can adjust the quality level to find a good balance.

For me, PNG is the unsung hero of image formatting. Typically, I only use JPEGs for bigger, more visual images taken by a true photographer. But, for my daily use, PNG is the way to go.

2. Compress Your Images

Yep, hell hath no fury like a bloated web page after uploading an image that’s not compressed.

Search engines will look at your web page like you might look at a big vat of Crisco: You can’t seriously be considering putting that on you your website, right?

According to HTTP Archive, images make up on average 21% of a total webpage’s weight.

That’s why I highly recommend compressing your images before uploading to your site. You can do this in Photoshop or you can use a tool like TinyPNG. TingPNG also has a WordPress plugin you can use too.

However, I prefer WP Smush as my WordPress plugin. It reduces the image file size without removing the quality. Whatever plugin you use, make sure to find one that compresses the images externally on their servers. It reduces the load on your own site.

Increasingly.com improved website speed by 33% / 2 seconds by compressing images.

I mean, there’s just something sexy about faster page speed when after you compress your images.

If you’re unsure how your images are affecting your page speed, I recommend using Google’s PageSpeed Insights tool.

3. Create Unique Images

You want your photos to pop on your site. If you fill your website with stock imagery, you’ll look unoriginal – like thousands of other sites that don’t stand out.

Too many websites are cluttered with the same generic stock photos.

Think about a corporate website, a consulting firm, a business that prides itself on customer service. All these websites use virtually the same looking stock image of a businessman smiling.

I’m sure you’ve seen one that looks like this:

common business man stock image

While you may have your stock images perfectly optimized, it won’t have the same impact or potential SEO benefits as an original, high-quality image.

The more original pictures you have, the better experience for the user and the better your odds are of ranking on relevant searches.

4. Beware of Copyright

Regardless of the image files you choose to use, make sure there’s no copyright conflict.

The Postal Service is paying $3.5 million in an image copyright lawsuit. And, Sketchers got sued for $2.5 million.

If Getty, Shutterstock, DepositFiles, or some other stock photo provider owns an image you use, and you don’t have a license to use it, then you’re risking an expensive lawsuit.

Under the Digital Millennium Copyright Act (DMCA), you could be issued a notice if you have violated any copyright issues. If the owner of a piece of content sees their content on your website, they can issue a DMCA Takedown which you must comply with.

Google Images allows you to filter results based on those available for reuse. And, Mindy Weinstein shares 41 different websites to find free images.

5. Customize Image File Names

When it comes to SEO, creating descriptive, keyword-rich file names is absolutely crucial.

Not customizing your image file name is like getting a burrito with nothing in it. It just plain sucks.

Image file names alert Google and other search engine crawlers as to the subject matter of the image.

Typically, file names will look like “IMG_722019” or something similar. That’s like ordering from a menu in a different language. It doesn’t help Google.

Change the file name from the default to help the search engines understand your image and improve your SEO value.

This involves a bit of work, depending on how extensive your media library is, but changing the default image name is always a good idea. Let’s take this image of chocolate for example:

dark chocolate coffee flavored bar

I could name it simply “chocolate” but if you sell chocolate on your website, potentially every image can be named “chocolate-1,” “chocolate-2,” and so on.

I named this image “dark-chocolate-coffee” to let users and search engines understand the image.

6. Write SEO-Friendly Alt Text

Alt tags are a text alternative to images when a browser can’t properly render them. Similar to the title, the alt attribute is used to describe the contents of an image file.

When the image won’t load, you’ll get an image box with the alt tag present in the top left corner. Make sure they fit with the image and make the picture relevant.

Paying attention to alt tags is also beneficial to the overall on-page SEO strategy. You want to make sure that all other optimization areas are in place, but if the image fails to load for any reason, users will see what the image is supposed to be.

Plus, adding appropriate alt tags to the images on your website can help your website achieve better rankings in the search engines by associating keywords with images. Even Google has remarked on the value of alt text in images.

It provides Google with useful information about the subject matter of the image. We use this information to help determine the best image to return for a user’s query.

Alt text is required under the American Disabilities Act for individuals who are unable to view images themselves. A descriptive alt text can alert users exactly what is in the photo. For example, say you have a picture of chocolate on your website.

The alt text could read:

<img src=”chocolate-1.jpg” alt=”chocolate”/>

However, a better alternative text that describes the image would read:

<img src=”chocolate-1.jpg” alt=”dark chocolate coffee flavored bar”/>

Alt text is viewable in the cached text version of the page, aiding in its benefit to both users and the search engines. For further SEO value, the alt text can act as the anchor text of an internal link when the image links to a different page on the site.

7. Think About the Image File Structure

In 2018, Google updated its Image Guidelines. One of the major updates they revealed was that they use the file path and file name to rank images.

Repeat: The file path and file name is an actual ranking factor.

For example, if you’re an ecommerce brand with multiple products, instead of placing all your product images into a generic /media/ folder, I would recommend structuring your subfolders to more category related topics like /shorts/ or /denim/.

8. Make Your Page Title & Description

Google also revealed that it uses your page title and description as part of its image search algorithm.

The Google support page states:

“Google Images automatically generates a title and snippet to best explain each result and how it relates to the user query… We use a number of different sources for this information, including descriptive information in the title, and meta tags.”

All of your basic on-page SEO factors like meta data, header tags, copy on the page, structured data, etc. affects the way Google ranks your images.

It’s like putting all your toppings on your burrito. It tastes way better with guac. So, make sure to add the guac for improving image rankings.

9. Define Your Dimensions

If you’re using AMP or PWAs, you are required to define your image dimensions in the source code.

However, if you’re not using either, it’s still a best practice to define the width and height. It provides a better user experience.

Plus, it allows the browsers to size the image before the CSS is loaded. This stops the page from jumping when it loads.

10. Make Your Images Mobile-Friendly

Oh, mobile SEO. At its worst, it can give you a high bounce rate and low conversions. But, at its best, it can give you more ranking power and better user engagement.

Problem is, how do you optimize your images for the mobile-first index?

You create responsive images. This means the image will scale with the size of the site whether the user is using desktop or mobile. It adjusts to the size of the device.

11. Add Images to Your Sitemap

Whether you’re adding your images to your sitemap or creating a new sitemap for images, you want images somewhere in your sitemaps.

Having your images in a sitemap greatly increases the chances of search engines crawling and indexing your images. Thus, results in more site traffic.

If you’re using WordPress, Yoast offers a sitemap solution in their plugin.

Image Optimization Key Takeaways

So, before you begin uploading your image to your site, make sure to follow the image optimization rituals from above.

The most important thing is to make sure the image and alternative text are relevant to the page. Other key takeaways:

  • Choose the right file format. PNGs are my favorite for screenshots.
  • Reduce file size for faster page load speed.
  • Make sure your on-page SEO elements (meta data, structured data, etc.) pair with your image.
  • For crawlability, create an image sitemap or make sure your images are featured in your sitemap.

Optimizing images are no joke. With advancements in voice search technology, media is a growing importance and your entire site will benefit from taking the steps above.

Happy optimizing!


Image Credits

Featured Image: Paulo Bobita
All screenshots taken by author



Continue Reading

Trending

Copyright © 2019 Plolu.