Play nice with AMP

Created on 18 December 2019, almost 5 years ago
Updated 30 October 2023, about 1 year ago

Problem/Motivation

While Blazy formatters can simply be replaced by the relevant AMP formatters at AMP view modes,
Blazy Filter still needs manual theme overrides to play nice with AMP project.

OP:
I checked "Lazyload inline images, or video iframes, using Blazy" in content formats. Images can load on normal page view but on AMP page view it can not load. How can i fix it?

Proposed resolution

Disable Blazy, not enable of course.

Remaining tasks

Write a patch, review.

User interface changes

None, a set and forget.

API changes

None, a set and forget.

Data model changes

None, a set and forget.

Known issues

AMP uses similar padding hacks technique to make media responsive like Blazy, only the opposite direction and uglier with extra markups than Blazy. Blazy must prevents double hacks to happen.

Feature request
Status

Fixed

Version

2.5

Component

Blazy Filter

Created by

🇻🇳Vietnam mittoD

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024