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

Support for hi-res monitors. #1

Closed
BirdInTheCity opened this issue Jul 11, 2018 · 1 comment
Closed

Support for hi-res monitors. #1

BirdInTheCity opened this issue Jul 11, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@BirdInTheCity
Copy link

First of all—thanks for putting this together!

To support hi-res monitors/phones, can the requested image size be separate from the img display size? Even when I hard-coded a width/height, the values get overridden.

<img width=40 size="80"...>

@t-ho t-ho added the enhancement New feature or request label Jul 11, 2018
@t-ho
Copy link
Owner

t-ho commented Jul 11, 2018

Hi Brian,

Thank you for your feedback.

The feature has been implemented. Now, the ratio of requested image size to displayed size can be configured via ratio property or forRoot() method. By default, it is set to 2.

@t-ho t-ho closed this as completed Jul 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants