Skip to content

A simple script which uses Verot's class.upload.php to generate thumbnails

Notifications You must be signed in to change notification settings

G4Zz0L1/PHP-thumbnails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PHP-thumbnails

A simple script which uses Verot's class.upload.php to generate thumbnails

Basic setup:

  • If you want to use the "seo friendly" mode, put the following in the .htaccess
RewriteRule ^thumb/(.*)$ /thumb.php?arg=$1 [NC,L,QSA]
  • Change the default img at line 40
  • Create a writable folder "cache" at the same level of this script, it'll be used to cache the files

The file must be called like:

thumb.php?width=width&height=height&file=path/to/file.ext

If you enable the "seo friendly" mode, instead

thumb/width/height/path/to/file

About

A simple script which uses Verot's class.upload.php to generate thumbnails

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages