srcset shows original image url only


My website’s post thumbnails shows urls as original url only, as shown in the next example:

<img width="450" height="450" 
class="attachment-shop_catalog size-shop_catalog" 
srcset=" 150w, 380w, 450w, 100w, 32w"

sizes="(max-width: 848px) 33.33vw, (max-width: 1150px) 50vw, 25vw"

I have tried changing the theme to Twenty Nineteen, deactivating all plugins except for Woocommerce, regenerating thumbnails. But there isn’t any change. I also made sure that the different images sizes urls exist already, like×150.jpg . It opens without any redirection, I have also an old staging website of the production website doesn’t have this issue and the urls are written correctly. It has some changes that I’m not sure of as I came late to the website. I have made a new clone of the website and it does have the issue. I suspect the hosting server, but don’t know how to check the source of the issue.

Please let me know if you needed any more info so that I edit the question to be more clear, thanks!

, , , Heba Fareed 1 year 2020-07-16T06:10:22-05:00 0 Answers 64 views 0

Leave an answer