pugman76 on "[Plugin: WP Photo Album Plus] Uploading "selfie" from mobile camera fails"

ساخت وبلاگ

Uploads are working for me when I am using my phone with the standard camera, but when in "selfie" mode and using the front camera, the upload fails. I have no idea why and can't figure it out.

http://www.bodyrat.com

Thanks!

https://wordpress.org/plugins/wp-photo-album-plus/

True ( on my Samsung android phone ). Looks an android bug to me. The photo even is not saved on the phone. Make the selfie first, and then upload it. My code tests on mime type, i will see what happens when i assume .jpg is indeed a jpg; maybe they do not set the mimetype properly.

To be continued...

I noticed that the wppa 'source' image files exist, so the photos are correctly transferred. The resizing gives the problem. This can be caused by the fact that there is very much memory needed, not only to hold the ( memory image of the ) original photo but also of the ( memory image of the ) to the right position rotated original image.

So, although you may expect that the pixelsize of the selfie camera is smaller than the back-camera, it may require more memory; i.c. too much server memory.

Trying to 'remake' display and thumbnail on the album admin page also fails.

Thanks for the reply. I am using a Galaxy S6 fyi. I am developing a website where many people are going to be submitting "selfies" quite often, and while I could post a note to capture the image first and then upload it, inevitably many people are going to just submit the selfie anyway without reading it. Do you think there is any way around this? Again, thanks for checking in. You have, by far, the best support of any plugin author I have ever dealt with! :)

I will continue to investigate on this. Could you please be so kind to Tick Table IX-A3: Allow WPPA+ Debugging on the site involved?

Even a selfie first saved on the Phone does not work.

I issued a bugreport for the PHP function imagecreatefromjpeg().

I unticked the Table IX-A3 as requested. I really appreciate you checking into this!

(I meant I ticked it, not unticked it)

Ok. Its no lpnger relevant for me to see how much servermemory you have.
Php has already admitted that there is a problem. Check the link again.

Eureka!

The php boys supplied me a workaround (by changing a php ini setting on the fly) that fixes the issue.

I will release 6.4.18 today, that includes the fix.

Thanks Jacob. You are awesome!

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 200 تاريخ : پنجشنبه 27 خرداد 1395 ساعت: 6:40