Skip to:

Avatar preview has been stretched on BuddyPress site

  • awaise17


    I am working on a small community website based on BuddyPress. It gives the ability to users to upload their avatars and then crop it while previewing. I am using jCrop to do that.

    My problem is, when a user uploads his avatar, then the crop feature comes up along with the preview of the cropped image. The preview seems to be stretched.

    I don’t really know if this is the problem of my css or the jCrop itself. I have read people with similar problem and the proposed solution was to remove (if any) fixed height or width has been applied to the preview container. I have tried that with sever other options and tweaks but nothing works.

    Here is the problem in the image for best understanding.
    Preview Problem

    Please note that the crop function itself is working fine. i.e, it only shows the area in preview that has been selected. But its stretched.

    I really need your help on this.

    If you want to check it even further, Here is the link to the production version of the site
    Production Version
    pass: admin

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Avatar preview has been stretched on BuddyPress site’ is closed to new replies.
Skip to toolbar