Home Forums Plugin Support WP User Frontend Pro Avatar Problem

This topic is: resolved

This topic contains 14 replies, has 4 voices, and was last updated by  Tareq Hasan 5 years, 10 months ago.

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #3194

    cmorillas
    Participant
    Post count: 29

    Hi guys,

    When updating the plugin, the profile form with an avatar field is no longer working. It's not possible to upload any file (error #-600: file size error), and the users that yesterday showed their avatar are not showing now.

    If I deactivate the plugin, the avatars are showing again: in the users menu, and at the top menu dashboard when users are logged in.

    Any help?.

    Thank you,

    César.

    #3195

    Tareq Hasan
    Keymaster
    Post count: 2831

    Hello César,

    The image/file upload fields file size limit has been changed from MB to KB. So you need to insert the size again to kilobyte.

    Since the mechanism of avatar image got some changes, please update the user avatar again. That'll fix the avatar broken image.

    #3196

    cmorillas
    Participant
    Post count: 29

    How can I change the size again to kilobyte?

    But I thing is another problem, because with previous versions the avatar image was at
    /wp-content/uploads/2013/03/CIMG0295-avatar.jpg

    But now, the plugin is trying to find the image at the following directory:
    /2013/03/CIMG0295-avatar.jpg

    Is it a clue for you?

    #3199

    Tareq Hasan
    Keymaster
    Post count: 2831

    Change the file size here:
    file size

    #3202

    cmorillas
    Participant
    Post count: 29

    It worked !.

    Thank you.

    #3255

    cheekyboots
    Participant
    Post count: 7

    Can the error message be changed to something more user friendly?

    #3257

    Tareq Hasan
    Keymaster
    Post count: 2831

    Yeah, I could. I just haven't handled the error messages. It's just the default error message from the plupload library.

    #3314

    cheekyboots
    Participant
    Post count: 7

    Ok, let me rephrase. *Will you*? Or will you explain how to do it myself?

    #3316

    Tareq Hasan
    Keymaster
    Post count: 2831

    See the /js/upload.js line 104
    [js]alert(‘Error #' + error.code + ‘: ‘ + error.message);[/js]

    So you get a error code and error message. I am not sure what other error code it gives, haven't found it in plupload docs. You can add some user friendly error messages.

    #3391

    ivaxtobac
    Participant
    Post count: 35

    Hi Tareq

    I use avatar element, and i change to 1024 and url don't find image. It's search on /2013/03/image.jpg, and it's uploaded on /wp-content/uploads/2013/03/image.jpg

    Thanks

    #3394

    Tareq Hasan
    Keymaster
    Post count: 2831

    Please try updating the avatar image again.

    #3396

    ivaxtobac
    Participant
    Post count: 35

    But there are more users created. I can do it for my user, but not for all the rest

    #3397

    Tareq Hasan
    Keymaster
    Post count: 2831

    Yeah, sorry for that. Previously the avatar url was saving like this: /2013/03/image.jpg. But now the complete url is saving in the avatar meta field to fix the multisite issue. Somehow you've to fix those image urls.

    #3798

    cheekyboots
    Participant
    Post count: 7

    The pixelation of the resized image for the avatar looks awful. Can we change the compression amount?

    #3800

    Tareq Hasan
    Keymaster
    Post count: 2831

    The plugin is not changing the picture quality. It's only resizing the image size using WP native image edit function.

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

The topic ‘Avatar Problem’ is closed to new replies.