You are here

README.txt in ImageCache 5

Same filename and directory in other branches
  1. 5.2 README.txt
  2. 6.2 README.txt
Imagecache is a dynamic image manipulation and cache tool.
It allows you to create a namespace that corresponds to a set
of image manipulation actions. It generates a derivative image the
first time it is requested from a namespace until the namespace or
the entire imagecache is flushed.


Usage:
goto  Administer -> Site Configuration -> Image cache 
create a ruleset,
add some actions to yoru ruleset,

add a 
print theme('imagecache', $ruleset_namespace, $image['filepath'], $alt, $title, $attributes)
to your tpl.php file where you would like the image to appear, where $alt, $title and $attributes are optional parameters.





File

README.txt
View source
  1. Imagecache is a dynamic image manipulation and cache tool.
  2. It allows you to create a namespace that corresponds to a set
  3. of image manipulation actions. It generates a derivative image the
  4. first time it is requested from a namespace until the namespace or
  5. the entire imagecache is flushed.
  6. Usage:
  7. goto Administer -> Site Configuration -> Image cache
  8. create a ruleset,
  9. add some actions to yoru ruleset,
  10. add a
  11. print theme('imagecache', $ruleset_namespace, $image['filepath'], $alt, $title, $attributes)
  12. to your tpl.php file where you would like the image to appear, where $alt, $title and $attributes are optional parameters.