Subject. This module is very poorly described in Readme file. Well, after blind experimenting and setting up presets and etc. I figured out that it did not created directories at all. And then what parts of this command should be changed to what:

print theme('imagecache', $ruleset_namespace, $image['filepath'], $alt, $title, $attributes)

I see that I can totally omit last three arguments, but what about very first argument? Should 'imagechache' be left same or changed to the name of the theme? In $ruleset_namespace should I change only namespace part like $ruleset_avatar20 or all the the word $ruleset_namespace together? Is $image['filepath'] a path of existing image?

Probably, some questions would b erased if the module worked, but it did not because the module did not create directories. And there is a thread about that issue and I am tracking it. But for now, I would really like to ask maintainer to kindly provide little bit more detailed description on how to start to use this module. Because it is extremely confusing for the beginners. Please.

Comments

yngens’s picture

This is a description from readme.txt file of official release:

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.

As you see, there is a very limited description not clear for new users. Please provide little bit more detail on how to get start to use this module. Please! I am waiting for anyone who would reply to my requests for already months...

mjlassila’s picture

If you are still stuck, this excellent Lullabot article might help you - at least it got me started few months ago :)
Please check: http://www.lullabot.com/articles/imagecache_example_user_profile_pictures.

Additionally, usually a search in key Drupalist sites helps a lot. Drupal Developer Search Engine (http://www.google.com/coop/cse?cx=005558135174622374984%3A18a39oisfvg) is a good place to start, it searches ~130 Drupal-related sites.

I agree with you, that default decumentation of this module (and many others) is quite limited, but luckily usually there is more information available at somewhere else.

dopry’s picture

Status: Active » Closed (duplicate)

There is a GHOP issue open to write more docs for the module.