Bitrix Photo Gallery 2.0

How to reduce the quality of the displayed photo in Photo Gallery 2.0


Answer 1, authority 100%

If I understand correctly, then to reduce the quality of the photo, you can do the following, in the photo gallery template, press photos using the function CFile::ResizeImageGet, the function caches compressed images and, on repeated calls, simply takes the image from the cache without creating additional load on the server.