Skip to content
A PHP class used for accessing thumbalizr's API and cache images locally.
PHP
Find file
Failed to load latest commit information.
cache Initial commit. Mar 7, 2009
.gitignore Initial commit. Mar 7, 2009
README.textile Initial commit. Mar 7, 2009
index.php Initial commit. Mar 7, 2009
thumbalizrrequest.php Changed cache time calculation. Mar 28, 2010

README.textile

Thumbalizr PHP class

A PHP class used for accessing thumbalizr’s API and cache images locally. Originally written by the people behind thumbalizr, tweaked by me (Anton Lindqvist).

Note that cache folder need to be writable (i.e chmod 777 cache/). Following options below are available.

  • api_key string
    • info: your unique api-key
    • default: n/a
  • use_local_cache boolean
    • info: either true or false for local image cache
    • default: true
  • local_cache_dir string
    • info: relative cache directory must exists in install directory and be writable
    • default: cache
  • local_cache_expire int
    • info: local chache expiration time in hours
    • default: 12
  • width int
    • info: image width
    • default: 250
  • delay int
    • info: capture delay useful for flash content 5-10 is a good value
    • default: 8
  • encoding string
    • info: either jpg or png
    • default: png
  • quality int
    • info: image quality 10-90
    • default: 90
  • bwidth int
    • info: browser width
    • default: 1280
  • bheight int
    • info: browser height
    • default: 1024
  • mode string
    • info: screen or page
    • default: screen
Something went wrong with that request. Please try again.