Due to the recent error: Image size smaller than recommended size AMP issue (which has already been posted about several times) I am attempted to fix this issue. I have over 240 pages I need to fix. So, I was wondering about the best approach. Can I replace the images with stock photos of each image (ie 4368 x 2912px) and Newsmag will resize the images automatically or will this ruin site performance?
I already use image compression tools via shortpixel, web caching via WP Supercache and CDN via cloudflare.
-
This topic was modified 7 years by
thoughtful.
Hi,
Please notice that’s not a problem which comes from our theme, sorry! Please keep in mind that AMP is a built-in plugin which was optimized and integrate into our theme according to the official requirements so far. It would be preferable that you use large images on your site to get the best results. More recently, it seems that Google has put these warnings for the images which are less than 1200 pixels wide (likewise, the height of portrait images should be at least 1200 pixels). The best solution, in this case, would be to manually replace your old image with another one which has minimum 1200px wide, sorry! For more information about this case, you can check the following topic here -> https://tehnoblog.org/how-to-fix-google-search-console-amp-image-size-smaller-than-recommended-in-wordpress/ because this aspect has also been discussed here.
Thanks for your understanding!
I believe you just pasted a templates answer without reading the question. Can you please go back and read the question? It is about performance and whether or not to just load the full resolution photos.
I understand that you get a similar question to this a lot and how it is easily overlooked, but this question is different than the standard amp/image questions. Can you please reread the original question? My question is regarding the theme and the way that it handles larger images. I want to minimize the risk of decreasing site performance.
Hi,
If you want to make some deeper investigations, you need to edit the following core file from here -> https://www.screencast.com/t/e8AJiIC7Ln and try to change the function parameter according to this guide -> https://developer.wordpress.org/reference/functions/get_the_post_thumbnail/
Thanks for your understanding!