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

remark-images blows up images to 100% width and ignores ppi #1982

Closed
bripkens opened this issue Aug 31, 2017 · 0 comments
Closed

remark-images blows up images to 100% width and ignores ppi #1982

bripkens opened this issue Aug 31, 2017 · 0 comments

Comments

@bripkens
Copy link
Contributor

This is a follow up after the discussion in #1509:

gatsby-remark-images is a versatile solution, but it has issues with images <maxWidth. Concretely:

  • default solution for getting images into Markdown blows all images up to 100% container size
  • images with 144dpi should get written out with a width attribute referencing half their natural width – that's what GitHub does for PNG images at 144dpi uploaded through their interface (Retina Mac saves screenshots at 144dpi and as PNG per default)
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