Skip to content

Simple php scripts to compress images in uploads folder.

Notifications You must be signed in to change notification settings

pinchies/VanillaCompressImages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

VanillaCompressImages

Simple php scripts for Vanilla Forum, to autocompress JPEG images in your uploads folder.

  1. Upload both scripts to your public_html folder.
  2. Configure the $domain variable for your domain name in the compressimages file.
  3. When you run the <$yourdomainname>/compressimages.php script, images will be automatically compressed and the originals DELETED, one image with every run, to avoid server slowdown.
  4. If you want to optimise the images one by one manually, then visit <$yourdomainname>/compressimages.php?manual=1
  5. Setup a cron job to run the php script as frequently as you would like.
  6. If this helps you feel free to tip me. :-)

About

Simple php scripts to compress images in uploads folder.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages