If you upload a huge TIFF files, let's say 14249x6570 pixels (548MB, true example), the current Piwigo 2.10 algorithm to create representative will create a 14249x6570 JPEG or PNG file.
It's totally useless because the representative is only used to act as the original to generate derivatives (multiple sizes). The huge JPEG representative (sometimes 50MB in my example) will take forever to generate the thumbnail and use far too much disk space.
I think we could limit the dimensions to size XXL dimensions + 20%.
If you upload a huge TIFF files, let's say 14249x6570 pixels (548MB, true example), the current Piwigo 2.10 algorithm to create representative will create a 14249x6570 JPEG or PNG file.
It's totally useless because the representative is only used to act as the original to generate derivatives (multiple sizes). The huge JPEG representative (sometimes 50MB in my example) will take forever to generate the thumbnail and use far too much disk space.
I think we could limit the dimensions to size XXL dimensions + 20%.
<!-- github-sync-id:491741590 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
If you upload a huge TIFF files, let's say 14249x6570 pixels (548MB, true example), the current Piwigo 2.10 algorithm to create representative will create a 14249x6570 JPEG or PNG file.
It's totally useless because the representative is only used to act as the original to generate derivatives (multiple sizes). The huge JPEG representative (sometimes 50MB in my example) will take forever to generate the thumbnail and use far too much disk space.
I think we could limit the dimensions to size XXL dimensions + 20%.