Skip to content
This repository has been archived by the owner on Sep 2, 2020. It is now read-only.

Limit image file size to 256kb #461

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Limit image file size to 256kb #461

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Aug 13, 2014

This limits uploaded image file sizes to 256kb, as per the openbadges spec. As a pleasant side effect, it also resolves a database disconnect issue that was happening when someone attempted to upload an image over 2 megs.

I haven't added any additional copy to the Visuals tab stating this limit (I wasn't really sure where to put it without making it seem rather wordy/ugly), but if you attempt to upload an image that is too large, the error message "Maximum image size is 256 KB" will be displayed.

@threeqube
Copy link

👍 sounds great. Thanks @christensenep!

@simonwex simonwex added this to the OBI 1.1 & Maintenance Work milestone Jun 4, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants