RSS Feed/News Compress Uploaded Images Using ImageMagic or PHP GD (Admin Choice)

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,669
Points
823

Reputation:

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...

Read more

Continue reading...
 
Status
Not open for further replies.
Top