We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Not all <img> tags have width/height attributes which are required for the matching <amp-img> tag. We should find a way to include that somehow.
<img>
<amp-img>
srcset
sizes
getimagesize
Related #13
The text was updated successfully, but these errors were encountered:
This is partially handled. There are cases like hotlinked images that we need to figure out. Possible options:
The third one is only workable for wpcom and self-hosted sites with Jetpack.
Sorry, something went wrong.
We should set a max of 600 ($content_width if set, or fallback to 600) for images since that's the max size of our column.
$content_width
No branches or pull requests
Not all
<img>
tags have width/height attributes which are required for the matching<amp-img>
tag. We should find a way to include that somehow.srcset
orsizes
are included, try to pull from them, if possible.getimagesize
and wpcom'sgetimagesize
).Related #13
The text was updated successfully, but these errors were encountered: