Home Forums Plugin Support WP User Frontend Pro Errors on image upload via frontend form

This topic is: resolved

This topic contains 11 replies, has 2 voices, and was last updated by  ForestNation 6 years, 2 months ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #3767

    ForestNation
    Participant
    Post count: 27

    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 …

    #3780

    Tareq Hasan
    Keymaster
    Post count: 2831

    Where's the error is coming?

    #3782

    ForestNation
    Participant
    Post count: 27

    fontend user form. Select image to upload

    #3783

    Tareq Hasan
    Keymaster
    Post count: 2831

    Can you give a screenshot?

    #3802

    ForestNation
    Participant
    Post count: 27

    sent you one via email as I cannot attach here

    #3804

    Tareq Hasan
    Keymaster
    Post count: 2831

    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.

    #3832

    ForestNation
    Participant
    Post count: 27

    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…

    #3833

    Tareq Hasan
    Keymaster
    Post count: 2831

    Tested the image, no errors came out :/

    #3846

    ForestNation
    Participant
    Post count: 27

    Any idea why I would get those errors then?

    #3848

    Tareq Hasan
    Keymaster
    Post count: 2831

    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.

    #3860

    ForestNation
    Participant
    Post count: 27

    ok thanks

    #3876

    ForestNation
    Participant
    Post count: 27

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

Viewing 12 posts - 1 through 12 (of 12 total)

The topic ‘Errors on image upload via frontend form’ is closed to new replies.