Attack
Forum Üyesi
- Katılım
- 4 Şub 2023
- Mesajlar
- 2,618
- Puanları
- 0
My suggestion is to use ImageMagic or PHP GD, whichever is selected by the admin, to compress images to their choice (say 40% to 80%) as well as resize them to a maximum width (which will obviously resize their height to keep the same ratio too).
This will save some people enormous disk space and could also run retroactively for older photos uploaded (possibly on the cron).
In order to not be a resource hog, it would also queue up all photos as well as run a cron job to process X images...
This will save some people enormous disk space and could also run retroactively for older photos uploaded (possibly on the cron).
In order to not be a resource hog, it would also queue up all photos as well as run a cron job to process X images...
Misafirler için gizlenen link, görmek için
Giriş yap veya üye ol.