Jump to content

Bypass thumbnails for profile pictures


SeNioR-

Recommended Posts

Hello. I set the maximum size of profile pictures to 150 px, for one of the groups.

I also defined a variable in constants.php

\define( 'PHOTO_THUMBNAIL_SIZE', 150 );

The problem is that an unnecessary thumbnail of the same size and weight is created.

Even if I skip cropping/adjusting the image by closing the window, the thumbnail is still created.

Is there any way to bypass thumbnails for profile pictures? Because currently, two identical images are created.

Thanks.

Edited by SeNioR-
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...