4 ms·
on iOS 6, iphone, I get a bug where it only shows me a fraction of the image I'm uploading in the preview. Does anyone know why this is? I had the same issue
by heyrhett 14y ago
on iOS 6, iphone, I get a bug where it only shows me a fraction of the image I'm uploading in the preview.
Does anyone know why this is? I had the same issue with jQuery-File-Upload.
- cmer 14y agoI assume you mean the black bar problem? It's a bug in iOS when you try to resize images client size. There's no workaround (besides disabling client-side image processing for iOS) AFAIK.
- jewel 14y agoI've heard that https://github.com/stomita/ios-imagefile-megapixel https://github.com/stomita/ios-imagefile-megapixel works around the issue. I haven't had a chance to try it personally, yet.
- cmer 14y agoAre you talking about this issue? https://direct.ilovefreegle.org/uploads/p17935j7131t5l2ql87a1oehkn3.jpg https://direct.ilovefreegle.org/uploads/p17935j7131t5l2ql87a... If so, great to know that there's a fix!
- enyo 14y agoYes that's the bug in question. There isn't really a fix for it, but a very very ugly workaround. Look at ios-imagefile-megapixel to see how they fixed it if you want. Or you can wait a few days for my implementation will be better documented.
- enyo 14y agoHi, I'm the author of Dropzone. iOS has a bug (as already mentioned by other users) resizing images in canvas. There are workarounds, and I already started implementation (https://github.com/enyo/dropzone/commits/ios-squas https://github.com/enyo/dropzone/commits/ios-squas). Unfortunately ios-imagefile-megapixel doesn't meet my coding standards so I didn't want to just take the code of their implementation. I will release my fix soon.