Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Some preview images are distorted on the iPhone Safari. #17

Closed
enyo opened this Issue Feb 4, 2013 · 8 comments

Comments

Projects
None yet
3 participants
Owner

enyo commented Feb 4, 2013

No description provided.

@ghost ghost assigned enyo Feb 4, 2013

Owner

enyo commented Feb 4, 2013

Same for chrome... Maybe the images are weird? Some images are working... strange.

Owner

enyo commented Feb 5, 2013

Here's the solution: https://github.com/stomita/ios-imagefile-megapixel

I'm going to implement it one day. The Megapixel lib is way to bloated for my taste. I'm going to extract the stuff I need.

enyo added a commit that referenced this issue Feb 6, 2013

Owner

enyo commented Jul 8, 2013

I'm closing this bug for now. If iOS 7 fixed it, I won't be fixing it in Dropzone.

At the moment selecting files is not possible at all in Safari iOS 7

@enyo enyo closed this Jul 8, 2013

@enyo enyo reopened this Dec 9, 2013

Owner

enyo commented Dec 9, 2013

iOS7 did not fix it :(

Check out the answer posted by matt burns here:
http://stackoverflow.com/questions/11929099/html5-canvas-drawimage-ratio-bug-ios

I just tried it and it seems to work. I added the two functions from his answer at the end of dropzone.js and then changed the ctx.drawImage in the createThumbnail function to use the drawImageIOSFix function instead.

Owner

enyo commented Dec 9, 2013

@hwsoderlund Thanks.. had already something like that in progress and just kicked it because it's so ugly and unnecessary for a bug that should be fixed in iOS :)

I will take care of it in the next upgrade.

ottob commented Dec 11, 2013

Great to see this get fixed. I ran into this issue today also.

@enyo enyo closed this in d7c1640 Dec 14, 2013

ottob commented Dec 16, 2013

Thanks. I've reported this to Apple.

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