This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

AMP Img Shortcode

Description

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.

Reviews

July 7, 2018
We use this on our own website to allow our authors to easily create amp-img shortcodes within their post’s content.
Read all 1 review

Contributors & Developers

“AMP Img Shortcode” is open source software. The following people have contributed to this plugin.

Contributors

Translate “AMP Img Shortcode” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.