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

Upload failed when picutres with extended name in upper case, like JPG/PNG #16

Closed
honglio opened this issue Sep 22, 2014 · 2 comments
Closed

Comments

@honglio
Copy link
Owner

honglio commented Sep 22, 2014

This title is miss leading. The problem is that user can't upload file more than 380k using base64 in chrome.

@honglio honglio added the bug label Sep 22, 2014
@honglio honglio added this to the 1.0 milestone Nov 3, 2014
@honglio honglio changed the title Upload picutres with extended name JPG/PNG will fail to save Upload failed when picutres with extended name JPG/PNG Nov 3, 2014
@honglio honglio changed the title Upload failed when picutres with extended name JPG/PNG Upload failed when picutres with extended name in upper case, like JPG/PNG Nov 3, 2014
@honglio
Copy link
Owner Author

honglio commented Nov 3, 2014

According to caniuse.com:

Support in Internet Explorer 8 is limited to images and linked resources like CSS files, not HTML files. Max URI length in IE8 is 32KB. In IE9 JavaScript files are supported too and the maximum size limit set to 4GB. Although Mozilla supports data URIs of essentially unlimited length, but Opera 11 browser limits data URIs to around 65000 characters.

This will bring another issue when user use different Browser to write and view the slides. Hmmmm....

@honglio
Copy link
Owner Author

honglio commented Nov 3, 2014

We should upload image to aliyun-oss, that'll skip the data URIs length limitation issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant