Keşfet

Compress Uploaded Images Using ImageMagic or PHP GD (Admin Choice)

XFdestek

Kurucu Üye
Katılım
25 May 2014
Mesajlar
4,952
Tepkime puanı
285
Konum
Türkiye
Web sitesi
fivetu.xyz
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...

Lütfen içeriği görebilmek için Giriş yap yada Kayıt ol
 

Konu görüntüleyen kullanıcılar

Benzer konular

Geri
Üst Alt