Can you provide a link to the PNG you are trying to upload, and what PNG options you are using? PNG to JPG, optipng level, pngout level, are both optipng and pngout enabled?
Sorry for the delayed answer.
optipng when disabled gives no error. Although it doesn’t optimize the images.
Please if you have time check
http://www.staging3.easynepal.com
user demo
pass demo
optipng optimization level 2
pngout optimization level 2
Try to upload an image in
http://www.staging3.easynepal.com/add-your-post/
Thank You
Error #-200: HTTP Error
comes when try to upload an image in the featured image field
In the post content field somehow it works when uploading a png.
http://www.staging3.easynepal.com/add-your-post/
Umm, your directions explicitly say upload a JPG to the featured image spot, but a PNG worked just fine for me. Large PNGs will likely stall out, because they shouldn’t be PNGs, or because they are huge and cannot be optimized very well. So, first, check your error logs on the server, and see if you can find out how to increase your max_execution_time while you’re at it. Second, it would be even more useful to see what PNG images you are trying to upload.
Hi my directions where because the png was not working. This is not my live site anyway.
Again I got an error with a 462 kb png image.
The error comes and when I check in dashboard my media library the image is there.
Use the demo user and pass and look in the dashboard , it is admin user now.
Thank you anyway for your time . I think your plugin is super I just want to check everything before I bring it to the live site
Dimitris
I can’t get to the backend (says insufficient permissions), can you send further instructions via http://www.exactlywww.com/contact-us/
Don’t want you posting admin access instructions on a public forum 🙂
I didn’t get the email, but I did find it in the database (I set it up to log all submissions, because this tends to happen every couple weeks).
I’ll take a look later today and email you if I have further questions.
For others that might have similar problems, there were several things going on here:
1. There were larger PNG images causing the PNG optimizers to take too long and exceed the server timeouts.
2. The webhost had security measures built-in that would randomly kill the process (probably just a CPU/long-running process checker).
3. The WordPress install was generating up to 19 resizes per image. Compounded with #1, this was the major culprit, but may be difficult to fix.
Recommendations: Increase php max_execution_time, find out what measures the webhost is employing and try to find a workaround to avoid triggering those security precautions, and also see if it is possible to avoid generating some of those resizes.
Thanks alot for giving me so much attention with my problem. I appreciate alot your work. I was not able to increase the cpu time .I am on a shared server. Also the 19 resizes is something that I can not change since is the main feature of my theme. There are so many different ways a photo is presented.
I think I will use the plugin without any png function or just bulk optimize the library every week and then deactivate it. What do you suggest?
I would probably just disable the PNG optimizers, and then enable them once a week and run a bulk optimize to catch any PNGs. That way JPGs will still be optimized on upload, but you can do the PNGs later.