-
Notifications
You must be signed in to change notification settings - Fork 1.4k
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Image squished in iOS6 upload when resizing #631
Comments
This may be helpful: https://github.com/stomita/ios-imagefile-megapixel |
I'm also seeing this. An example image is at https://direct.ilovefreegle.org/uploads/p17935j7131t5l2ql87a1oehkn3.jpg . |
I am also seeing this problem on iphone/ios6. Any ideas on how to solve this? |
Anyone got a fix or a workaround? |
@edwh We switched to https://github.com/protonet/plupload which fixed both this issue and #623. |
Thanks. Is that another fork of the same code, i.e. the same interface? On 11/11/2012 4:28 PM, Jewel wrote:
|
@jewel, I do not see how the fork you mention fixes squish bug, does it? |
It didn't fix it for me. On 23/12/2012 5:55 PM, Davit Barbakadze wrote:
|
I'm shocked to say that hadn't occurred to me. Dear me. On 23/12/2012 6:20 PM, Jewel wrote:
|
Also seeing the iOS6 squish bug when resizing - but only on the iPad 4, not the iPhone 4. The iOS image fix mentioned in the code has fixed the multiple uploads failing seen in version 1.5. |
We're facing the same problems. Photos taken as part of the image upload process gets squished and a black bar occurs. Same behavior on both iPhone and IPad (iOS 6). Tried both ver 1.x and Beta 2 versions of Plupload. Simply not re-sizing the image client-side for iOS devices is not the solution I was hoping for, but it's surely a work-around. Webkit gurus - is there really no other way to solve this client-side? |
@FredrikRofors See the top comment for a solution |
@sandstrom Thx for taking time to answer. Are you talking about replacing Plupload entirely or somehow hooking megapix-image.js library into it? |
I've created a patch for the html5 runtime to fix the issue. The fix integrates the MegaPixel code that sandstrom mentioned
Edit: lol. I'm still leaving in the SVN era, sending a .diff. Made my first pull request below. |
@huan086 Sounds great! As far I interpret your comment you have forked https://github.com/moxiecode/plupload/ and applied your fix to a private repository, am I right? (cause I can't see any fix commit on neither the 1.x or the master branch). If so, have you issued a pull-request to the guys at Moxiecode? |
This is not a fix -- it's a work around or hack...for the Plupload2 beta -- more fully explained in http://www.plupload.com/punbb/viewtopic.php?pid=11802#p11802
//... ... new code starts here - use MegaPixelImage if installed
} |
Just for the record... Thx guys for your effort! |
Something similar is already in the core, although not yet in any build. But will be these days. |
@huan086 thx so so so much for this fix! saved me a huge headache! |
If an image is uploaded through mobile Safari on iOS6, it will be squished and a black bar will take up the remaining space. This seems to be a bug in Safari.
Original image: http://thesteve.org/up/IMG_0001.JPG
Resized: http://thesteve.org/up/image.jpg.3a5e900954c08e64b123633d6a3f0210.jpg
This isn't a bug in plupload, but plupload will probably have to ship a workaround for the issue. I will update this ticket with a workaround if I can discover one.
The text was updated successfully, but these errors were encountered: