Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with width parameter on AMP images and iFrames #9

Open
gbaumbach opened this issue Jun 23, 2020 · 0 comments
Open

Issues with width parameter on AMP images and iFrames #9

gbaumbach opened this issue Jun 23, 2020 · 0 comments

Comments

@gbaumbach
Copy link

gbaumbach commented Jun 23, 2020

I've got an image on this page with this code rendering oddly in AMP:
<img alt="Up to twelve months, four phases, one client. You." data-image="4859" src="/upload/Graphics/12months-4phases-1client.jpg">

The rendered output after I use Amplify is:
<amp-img alt="Up to twelve months, four phases, one client. You." data-image="4859" src="/upload/Graphics/12months-4phases-1client.jpg" width="f" height="a" layout="fixed" class="i-amphtml-element i-amphtml-error"></amp-img>

Also, for an iFrame that has a width set to 90%, AMPLIFY keeps the width="90%" parameter which fails AMP inspection. If these could possibly be fixed, that would be most excellent!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant