• Although I can upload and even crop an avatar it doesn’t show up after clicking “crop image”. The default avatar is displayed instead.

    Tested in Firefox and Safari with Mac OS 10.6.6.

Viewing 5 replies - 16 through 20 (of 20 total)
  • I have similar problem , I can upload image and then crop the image but after click on crop button , nothing happen , I check the path “../ uploads/avatars/ ” and set permission to 777 — the image uploads in this path additional to the avatar doesn’t show in my website also the default avatar disappears .

    I checked this plugin on local server, well it’s work but on my web server doesn’t work, I think timthumb-config.php has problem about configuration address url for instances in my local server
    https://localhost/project/physics/wp-content/plugins/user-avatar/user-avatar-pic.php?src=https://localhost/project/physics/wp-content/uploads/avatars/3/1326186049-bpfull.jpg&w=150&id=3&random=1326186049
    show my avatar , but on web server such as this url doesn’t show any avatar

    I’m also having the same problem:

    1) Select & upload image, then crop it
    2) Image will not display in Edit User screen or on web page
    3) Image is physically in the correct location — I can copy URL from code & paste in browser address & image loads fine.
    4) Permissions all set to 777

    It looks like the URL that’s being generated has some extra code in that doesn’t appear to do anything? Perhaps it’s supposed to pass information to one of the pages, but it doesn’t.

    On or about line 603 in user-avatar.php, find this code:

    $avatar_url = plugins_url('/user-avatar/user-avatar-pic.php')."?src=".$avatar_src ."&w=".$width."&id=".$item_id."&random=".$file_time;

    and replace it with this:
    $avatar_url = $avatar_src;

    Do this with caution — it’s just a hack to get the images to show up. Not sure what other effects it may have, but it appears to work fine.

    invision-studios thanks .
    really works , I thinks this hack creates a direction way to achieve uploads folder => avatars .

    thanks, invision-studios… this works, except for displaying the image for cropping.

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘[Plugin: User Avatar] Uploaded avatar doesn't show up’ is closed to new replies.