How to Fix: Image size smaller than recommended size

Prem Tiwari - - Google AMP, How To, WordPress


Recently, Google AMP issues report appeared in Google Search Console with the message Image size smaller than recommended size. What this warning means and is there a way to fix it?

Today I am going to share a very useful post which will help you to fix the image size smaller than recommended size warning in your Google Search Console by adding the simple code.

To fix the smaller image size related warning in Google Search Console, either you need to have at least 1 image with at least minimum of 1200px wide. If your website has lots of posts and pages, then follow the following steps for the permanent fix.

Rules for Images in AMP – Updated

  • Only a marked-up image that directly belongs to the article should be specified.
  • Images should be at least 1200 pixels.
  • Every page must contain at least one image (1200 pixels). Google will pick the best image to display in Search results based on the aspect ratio and resolution.

How To Fix: Image Size Smaller Than Recommended Size

Google-Search-Console-AMP-Page-Issue-Image-Size-Smaller-Than-Recommended-Size

Follow the below steps to fix the image size smaller than recommended size.

Step 1. Create a large (>= 1200 pixels wide) amp_preview_image.jpg image file and upload it inside your project folder wp-content/uploads/ directory that you’ve just created like: wordpress/wp-content/uploads/amp_preview_image.jpg.

Step 2. Copy the below php code add inside your functions.php from your current activated theme.

Note: Please note that below code will only work with the official WordPress AMP plugin only. The following code is not compatible and also not tested with the other WordPress AMP plugins.

If you are using the AMP for WP – Accelerated Mobile Pages WordPress plugin in your site, then follow the below steps to fix the image size smaller than recommended size warnings in your Google Search Console.

Copy and paste the below code at the end of your functions.php file and save it.

Step 3. After followed the above steps login to your Google Search Console and navigate to the AMP section from left sidebar section.

Step 4. Now open the “Image size smaller than recommended size” section and validate your changes.

Image size smaller than recommended size

Step 5. Now allow Google to validate your changes. It will take 2-4 days normally to validate your changes. Once Google will validated and if found no warning, then you will see the message like below screenshot.

image-size-smaller-than-recommended-size-pass

If you still getting the Image size smaller than recommended size warning in your Google Search Console, then add feel free to your comment in the below comment section, I am happy to help you to fix image size smaller than recommended size warning.


About: Prem Tiwari

Prem Tiwari is the founder of FreeWebMentor.com and also a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies.


Tags: , , , , ,

9 thoughts on “How to Fix: Image size smaller than recommended size”

      1. Image size is smaller than recommended
        First revealed: 15.01.19 Status: Warning
        Learn
        Package straightened?
        CHECK THE CORRECTIONS
        Unindexed pages
        92

  1. I genuinely appreciate your hard work and this was an incredibly good post. Finding the time and actual effort to make a really good article…

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.