WordPress.org

Ready to get started?Download WordPress

Forums

User Avatar
User Avatar can´t crop pic (7 posts)

  1. Stefan-BBSC
    Member
    Posted 2 years ago #

    My problem is the following:

    I can upload pics. But after the upload should be a preview to crop the avatar. It isn´t...
    There´s the CROP button, i can klick it an the pic will be saved... But without the possibility to crop it. At the end the pics are croped automaticly.

    Example correct: http://s.wordpress.org/extend/plugins/user-avatar/screenshot-3.png?r=463153

    Example my page: http://www.berserker-supporter.de/wp-content/uploads/crop.jpg

    what is the problem?

    http://wordpress.org/extend/plugins/user-avatar/

  2. asomy
    Member
    Posted 2 years ago #

    Did you try another browser? Same problem?

  3. Stefan-BBSC
    Member
    Posted 2 years ago #

    Yes, tryed FF and IE.
    The first pic is in Firefox.

    In IE it looks so:
    http://www.berserker-supporter.de/wp-content/uploads/crop_ie.jpg

    When I click the right button and properties, the following path is shown:

    /wp-content/uploads/midsize-CIMG1054_kl3.jpg

    And the file also is in that folder.

    I think, the problem is here in the user-avatar.php... that means, the pics should be in uploads/avatars , right?
    But there aren´t my pics.
    What I have to change in the php?
    Just delete the /avatars?

    Edit: I tryed the last idea, but don´t work....

  4. Stefan-BBSC
    Member
    Posted 2 years ago #

    I think, the problem was a htaccess file in the upload folder.... why ever...

    Now it works.

    Thanks for help.

  5. enej
    Member
    Plugin Contributor

    Posted 2 years ago #

    It would be great if you could post a more elaborate solution. Or what exactly you changed. Because other might have the same problem.

    Cheers

  6. Stefan-BBSC
    Member
    Posted 2 years ago #

    We just deleted the htaccess file from the UPLOAD folder. That doesn´t have to be there.

    But we don´t know how it came there. Perhaps another plugin made a mistake...

    I think, it wasn´t a problem by the Avatar plugin.

  7. slang800
    Member
    Posted 2 years ago #

    I have the same problem, except there is no htaccess file in the upload folder. I already fixed one problem with the avatars not displaying anywhere by changing line 603 of user-avatar.php to $avatar_url = $avatar_src;. However, I still have the problem of avatars not displaying in the crop menu (exactly as Stefan-BBSC discribed)...

    By viewing the HTML in firebug, I think that it is trying to load the avatar from "http://localhost/wp-uploads/2012/01/32.jpg". However, I looked in that folder, and the actual path would need to be "http://localhost/wp-uploads/localhost/2012/01/32.jpg", so whatever code is putting the image in the wrong folder is probably the problem

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic