Image appearance on first load (amp-fx)
-
Hi! I am playing around with
amp-fx-collection
components and noticed that it has a weird appearance on page first load (no cache). I can see the image in the first milliseconds then it disappears andamp-fx
fade-in animation starts (video attached). How can I avoid displaying images beforeamp-fx
?Video: https://streamable.com/u7kzcy
HTML:
<img src="'. $image_url[0] .'" height="800" width="1700" alt="'. $attributes["image_alt"] .'" amp-fx="fade-in" data-duration="2000ms" />
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Image appearance on first load (amp-fx)’ is closed to new replies.