Skip to content

Discussion: Deprecating <amp-img> #43

@caroqliu

Description

@caroqliu

Context

amp-img allows the runtime to effectively manage image resources based on the viewport position, system resources, connection bandwidth, or other factors. With increasing browser support for more granular control on the native img tag, it is time to discuss a deprecation strategy for amp-img.

What would it take to deprecate amp-img?

To support a comparable feature set without amp-img, we first need broader support for lazy loading and aspect ratio, but there may be other critical features preventing the possibility of any imminent change. First steps are: (1) understanding the minimal range of critical features and (2) tracking ongoing progress for these across browsers.

Open questions

  • Using the AMP cache: How much can be delegated as a serving optimization?
  • Providing placeholders and fallbacks: How do we replace placeholders and fallbacks?
  • Loaders: Is there still a way to provide default loaders?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions