URGENT: NON-AMP IMAGES SHOWING ON AMP PAGES AFTER NEW UPDATE
-
Hi,
I just updated to version 0.9.94
I checked my blog posts to make sure they all looked okay and unfortunately the images that should be HIDDEN from amp, are actually showing alongside the amp-specific images I have set up.The code is set as followed if for example I need the two images to sit in different places in the blog:
DESKTOP IMAGE WITH AMP VERSION
<div class=”hidden-sm hidden-xs”><picture><source srcset=”DESKTOP IMG URL” media=”(min-width: 980px)”></picture></div><amp-img class=”alignright” media=”(min-width: 980px)” src=”DESKTOP IMG URL” width=”760″ height=”270″></amp-img>
MOBILE IMAGE WITH AMP VERSION
<div class=”hidden-md hidden-lg”><picture><source srcset=”MOBILE IMG URL” media=”(max-width: 980px)”></picture></div><amp-img media=”(max-width: 980px)” src=”MOBILE IMG URL” width=”360″ height=”270″ layout=”responsive”></amp-img>
Why are the images in the <div> showing on the amp pages when it previously didn’t until this update?
How do I get an older version of the plugin please?
The page I need help with: [log in to see the link]
- The topic ‘URGENT: NON-AMP IMAGES SHOWING ON AMP PAGES AFTER NEW UPDATE’ is closed to new replies.