amp-img srcset not work on mobile
-
The problem is it can work when I change the browser width on desktop, but I check with my phone, the browser always show the “slide-01.jpg”.
How can I fix this?
=============================================================================
<amp-carousel class=”carousel” layout=”responsive” height=”680″ width=”2000″ type=”slides” autoplay controls delay=”6000″>
<div class=”slide”>
<amp-img src=”/wp-content/uploads/2019/02/slide-01.jpg” srcset=”/wp-content/uploads/2019/02/slide-01.jpg 1080w, /wp-content/uploads/2019/02/slide-01-600.jpg 1024w” width=”2000″ height=”680″ layout=”responsive” alt=”AMP”></amp-img>
<div class=”caption”>
You. Naturally<sup>?</sup>
Discover the Possibilities
</div>
</div>
</amp-carousel>
==================================================================================
- The topic ‘amp-img srcset not work on mobile’ is closed to new replies.