-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Document how images work on the web #5061
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
Conversation
|
|
||
| ### Use <img> in a platform view. | ||
|
|
||
| Flutter supports embedding HTML inside the app using [HtmlElementView][17]. Use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Filed an issue to add sample code for this: #5063
sfshaza2
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very minor nits, otherwise LGTM!
| @@ -0,0 +1,161 @@ | |||
| --- | |||
| title: Displaying images on the web. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the period from the title.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
| them. | ||
|
|
||
| # Background | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You must have at least one line of text between levels of headers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
|
|
||
| ### Host your images in a CORS-enabled CDN. | ||
|
|
||
| Typically content delivery networks (CDN) can be configured to customize what |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comma after Typically.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
* Document how images work on the web * address comments
Document the nuances of displaying images on the web. A question that's particularly common is how to render cross-origin images in CanvasKit.