Add Local Avatar
quality of image and with implementation (6 posts)

  1. yukiko-kawa
    Posted 3 years ago #

    in next version put a possibility of upload a 100% quality of image
    now I see that the image and crop image have low quality.

    Then If possible put option to take with 100 px (not only max 80px)

    thank for your work!

    p.s. control possible conflict with avatar of social login (Login Radius)


  2. DougJoseph
    Posted 3 years ago #

    Dear Peter:

    Hey this is Doug Joseph. Hope you are well!

    We just updated to the latest version and it is impressive!

    However, we also are noticing seriously visible damage to the cropped image due to intense JPG compression. Is there any chance you would tell me where in the code I can tweak the amount of compression that is happening?

    Thanks again for such a great plugin!!

  3. DougJoseph
    Posted 3 years ago #

    I just searched the code and found only one place that sets this variable:

    $jpeg_quality = 90

    It was right under a remark line that says "// Upsize Avatar images that are too small."

    However, the issue I'm facing is poor quality on downsizing, not upsizing.

  4. DougJoseph
    Posted 3 years ago #

    We need larger avatars, and so I tweaked the code to up the max from 80 to 140. The damage done by the JPG compression is very obvious. Not having any luck finding where to affect the selected JPG quality setting in use.

  5. DougJoseph
    Posted 3 years ago #

    Well, I changed the size up to 140 and edit the code to say $jpeg_quality = 95 (instead of 90) and at first I did not think it did any good. But then I refreshed and it does appear better. I think my efforts did result in increased quality but I had a caching issue keeping me from seeing it, perhaps.

    For those interested, the change to image quality was made on line 1203.

  6. DougJoseph
    Posted 3 years ago #

    Also note that viewing an 80 pixel avatar scaled up to 140 pixels (in the avatar editing dialog) will cause the jpeg compression "artifacts" to appear more obvious than at normal size.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Add Local Avatar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.