Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Limit max size of inline images #598

Merged
merged 1 commit into from
Jan 24, 2016
Merged

Limit max size of inline images #598

merged 1 commit into from
Jan 24, 2016

Conversation

xPaw
Copy link
Contributor

@xPaw xPaw commented Jan 20, 2016

Big images can take up all the space the way, this fix prevents it.

Test image: https://placeholdit.imgix.net/~text?txtsize=20&txt=ah&w=3500&h=3500

@MaxLeiter
Copy link
Contributor

would using a percentage be better to support multiple screensizes?

@astorije
Copy link
Collaborator

Probably not the best we can do in the long, but clearly the easiest solution at the moment, and good now is better than better never :-)

👍

@astorije astorije self-assigned this Jan 20, 2016
erming added a commit that referenced this pull request Jan 24, 2016
Limit max size of inline images
@erming erming merged commit 97bb284 into erming:master Jan 24, 2016
@xPaw xPaw deleted the patch-4 branch January 24, 2016 15:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants