Rendering Images

Google AMP provides a standard element for responsive image rendering called amp-img, which is used by the Widget Framework's amp content profile. When the amp content profile is used, all images are rendered using the amp-img element.

The amp-img element requires a maximum image width to be specified. By default, the amp content profile sets this maximum width to 768. You can, however, modify the maximum width by setting the section parameter wf.contentprofile.amp.image.width.max.

The amp content profile makes use of an image policy (also called amp). This image policy is automatically selected by the amp content profile and does not need to be explicitly selected. The amp image policy should not be used in conjunction with any other profile: in other words you should never explicitly select the amp image policy.