Viewing 7 replies - 16 through 22 (of 22 total)
  • Sorry to keep posting to my own post but I am desperate for a fix to my issue; the issue is that no one below the role of Editor can upload their picture and I do not wish to grant editorial rights to subscribers.

    I suspect the correction might be made here:

    if(($profile->ID == $current_user->ID || is_super_admin($current_user->ID)))

    Any suggestions?

    Im having a problem with making a crop. It does upload the original picture to my server, but when i press the crop image I get the error saying “Sorry, No file available”

    The orginal image gets uploaded to wp-content/uploads/2010/10 and the wp-content/uploads/avatars is created
    trying to set folders or files to 777 with ftp only it gives me the error: “504 Command not implemented for that parameter”. Yes its a windows server.
    I turn read only of, but as soon as i apply it, its back there.
    What am i doing wrong

    Hi! I’m just new on wordpress I’m using zymichost.com
    when I crop the picture it tells me this errors’…

    can somebody help me on this thanx…

    Warning: imagejpeg() [function.imagejpeg]: SAFE MODE Restriction in effect. The script whose uid is 311288 is not allowed to access /www/zymichost.com/t/e/s/testme/htdocs/wp-content/uploads/avatars/1 owned by uid 2001 in /www/zymichost.com/t/e/s/testme/htdocs/wp-admin/includes/image.php on line 74

    Warning: imagejpeg() [function.imagejpeg]: Invalid filename in /www/zymichost.com/t/e/s/testme/htdocs/wp-admin/includes/image.php on line 74

    Warning: imagejpeg() [function.imagejpeg]: SAFE MODE Restriction in effect. The script whose uid is 311288 is not allowed to access /www/zymichost.com/t/e/s/testme/htdocs/wp-content/uploads/avatars/1 owned by uid 2001 in /www/zymichost.com/t/e/s/testme/htdocs/wp-admin/includes/image.php on line 74

    Warning: imagejpeg() [function.imagejpeg]: Invalid filename in /www/zymichost.com/t/e/s/testme/htdocs/wp-admin/includes/image.php on line 74
    Here’s your new profile picture…

    i have the same problem. it browsed, uploaded, cropped but didn’t appear.

    i manually create new sub folder uploads/avatar in wp-content and changed the permission to 777. and it works well now! thx

    paulatohlinecalhoun1951

    (@paulatohlinecalhoun1951)

    My problem is that I cannot crop my image. The “pre-cropped” image that shows up is the correct one and does not need cropping necessarily, so I can go with it, although I would like to tighten it up some. When I click on cropped and finished, all that shows up is a black square. When I originally put my new gravatar image up, What came up was an elongated image with a black bar down the side. Ever since I went back in to try and xorrect it, it has not allowed me to do anything! So I have switched back to the older image I had, which I also cannot crop. Trying to resize the box, or even move the area up and down just gives me a pop up ? sign. What can I do? Gravatar gave me a support e-mail address, but that address is invalid. It is: [email protected]

    harleyman

    (@harleyman)

    The plugin works fine. No problems at all, however we will not be using it. There is no way to set the size of the finished image desired, and these are too large for our liking.

    Please add a resizing option. Thank you for your time.

    I found the issue causing the message “Sorry, Image not available” after cropping to be to do with a site hosted on a windows server. For some reason the wordpress sanitising code esc_url returns an empty string with windows IIS. Hence the form id=”iframe-crop-form” has no value for the hidden input element “attachment_file” and the image gets lost (although it has actually been uploaded to the general uploads directory).
    My quick fix was to change line 280 of user-avatar.php (as of version 1.2.1)
    from
    <input type="hidden" name="attachment_file" id="attachment_file" value="<?php echo esc_url($file); ?>" />
    to
    <input type="hidden" name="attachment_file" id="attachment_file" value="<?php echo $file; ?>" />

    i’m sure there’s a better solution for this but it’s lunch time now and so i have other priorities. cheers.

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘[Plugin: User Avatar’ is closed to new replies.