[development] Referencing imagecache

Steve Ringwood nevets at tds.net
Tue Aug 10 15:48:13 UTC 2010


     You can call imagecache_create_url($preset_name, $filepath)


On 8/10/2010 10:22 AM, Jeff Greenberg wrote:
> I need to include an imagecache preset of an image in a form that is being created in a module.The image is a cck imagefield. There are two array elements in the cck information in the node containing name information.
> 'filename' is incorrect, because it lacks the _0 suffix that was appended to the physical file.
> 'filepath' contains the correct file name, but would require me manipulating the path to insert the imagecache path. I can do that, but wonder if I'm missing a more streamlined method. 

More information about the development mailing list