How to Fix: Image size smaller than recommended size

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


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.


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.

If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.

Recommended Posts:

Prem Tiwari

An engineer by profession and a passionate blogger by heart. Founder of (A Programming blog for beginners), Tech Speaker at various forums. A part from this he is an open source enthusiast, WordPress Lover, Blogger, SEO, and Growth Strategic.

Article Tags: , , , , ,