Beskrivning
This plugin from WPZA provides your website with a shortcode to display AMP images, rather than using the standard HTML img tags in WordPress.
Shortcode usage
To insert the image, you must use the image attribute as such: [amp-img image="https://wpza.net/example-image.jpg"]
To insert the alt text, you must use the alt attribute as such: [amp-img image="https://wpza.net/example-image.jpg" alt="Example image alt text"]
Installation
After installing this plugin, you must use the shortcode [amp-img]
on any page you would like the amp-img tag to be displayed on.
Recensioner
Bidragsgivare och utvecklare
”AMP Img Shortcode” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”AMP Img Shortcode” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.