Errors on image upload via frontend form

This topic contains 11 reply and 2 voices, and was last updated by ForestNation 10 years, 11 months ago
Viewing 11 Posts - 1 through 11 (of 11 total)
Author Posts
May 17, 2013 at 5:05 pm 3767
ForestNation Upload some images via the frontend form gives these errors. However, some images upload fine. Warning: imagecreatetruecolor(): Invalid image dimensions in ... Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in ...
May 17, 2013 at 6:37 pm 3780
Tareq Hasan Tareq Hasan

Where’s the error is coming?

May 17, 2013 at 6:42 pm 3782
ForestNation ForestNation

fontend user form. Select image to upload

May 17, 2013 at 6:44 pm 3783
Tareq Hasan Tareq Hasan

Can you give a screenshot?

May 17, 2013 at 9:25 pm 3802
ForestNation ForestNation

sent you one via email as I cannot attach here

May 17, 2013 at 9:53 pm 3804
Tareq Hasan Tareq Hasan

Is it in a posting form or it’s an avatar upload field? If it’s in the posting form, then maybe something wrong with your image. PHP’s image function is giving that error.

May 18, 2013 at 4:56 pm 3832
ForestNation ForestNation

Hi
It’s in a posting form to upload the featured image.
Not sure what could be wrong with the image. I’ll send it to you…

May 18, 2013 at 5:26 pm 3833
Tareq Hasan Tareq Hasan

Tested the image, no errors came out :/

May 19, 2013 at 5:04 pm 3846
ForestNation ForestNation

Any idea why I would get those errors then?

May 19, 2013 at 10:04 pm 3848
Tareq Hasan Tareq Hasan

After uploading an image to WP, it generates some different sized images. And the error is coming from there. It’s hard to say what went wrong.

May 20, 2013 at 8:20 am 3860
ForestNation ForestNation

ok thanks

May 20, 2013 at 6:16 pm 3876
ForestNation ForestNation

Ok, thanks for looking at it. I appreciate the help.

Viewing 11 Posts - 1 through 11 (of 11 total)