Skip to:
Content
Pages
Categories
Search
Top
Bottom

Profile Picture Compression


  • Jake Ward
    Participant

    @jakeward

    Hi,

    It seems that BuddyPress is compressing profile pictures on upload. We need quite high quality pictures for the design of our site. Is there a way I can change this?

    Thanks
    Jake

Viewing 6 replies - 1 through 6 (of 6 total)

  • Varun Dubey
    Participant

    @vapvarun


    Jake Ward
    Participant

    @jakeward

    Thank you! However, that still doesn’t solve the issue. On uploading the images are still being massively compressed. For example a 1.6mb image is going to roughly 155KB. Any ideas?

    Thanks
    Jake


    iamthewebb
    Participant

    @iamthewebb

    Hi @jakeward
    I think image compression is a function of wordpress itself so you could try
    add_filter('jpeg_quality', function($arg){return 100;});
    and then the other suggestion above combined may help. This code would only affect new uploads.


    Jake Ward
    Participant

    @jakeward

    Thank you! I came across this during some research also, but it didn’t seem to have an effect. The quality is still shrinking right down.


    bikerflyeradmin
    Participant

    @bikerflyeradmin

    I have been trying to figure this out for quite some time. I really do not understand who, if anybody, would want to destroy every image uploaded to a website. It seems everyone would want nice images. I am running buddyboss, which is built on buddypress, and even the images uploaded to activity feed are absolutely destroyed. Changing wordpress compression quality does nothing. I makes absolutley no sense whatsoever.


    shanebp
    Moderator

    @shanebp

    BuddyBoss is a fork of BuddyPress. The respective codebases have diverged, as all forks do.
    If you are using BuddyBoss – you should use their support ticket system.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Skip to toolbar