Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] JCrop and poor resolution issues

  • @aburi

    Participant

    (WP 3.5.2 / BP 1.8)

    Hi everyone,

    In bp-custom.php, I’m set a custom full avatar size to 350x350px.

    However, when uploading new avatars, the JCrop tool takes a high resolution image and sizes it down to a much smaller resolution (in the cropping pane, always a width of 450px and then proportional height) and then uses that image to crop a 350×350 avatar. The width is fine enough (being 450px) but the height of the image is less then 350px… the result being blurry avatars.

    Is there any easy fix this? Or a simple mistake I am making?

    Thanks,
    Alex

Viewing 1 replies (of 1 total)
  • @aburi

    Participant

    issue solve. Max_Width had to be defined to a larger size. (It was defaulting to 450px).

    // Define the avatar sizes
    define ( ‘BP_AVATAR_THUMB_WIDTH’, 60 );
    define ( ‘BP_AVATAR_THUMB_HEIGHT’, 60 );
    define ( ‘BP_AVATAR_FULL_WIDTH’, 350 );
    define ( ‘BP_AVATAR_FULL_HEIGHT’, 350 );
    define ( ‘BP_AVATAR_ORIGINAL_MAX_WIDTH’, 723 );

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] JCrop and poor resolution issues’ is closed to new replies.
Skip to toolbar