HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: Compress uploaded images in Vanilla forum
-
Compress uploaded images in Vanilla forum
Large images uploaded by forum users were clogging up my server. Rather than make changes to core vanilla code, I decided a simple solution would be to run a cron script that checks for "large" jpeg's, and compresses one image every 30 minutes. This is the script I came up with. I added these files to my public_html, and…
2 results