I'm using fckeditor to insert inline images in nodes.

Is there a way to use an imagecache preset on these images? I suspect it needs to be a function in my .tpl.php file?

Thanks

Glenn

Comments

glennnz’s picture

The documentation gives me this to use:

<?php print theme('imagecache', 'preset_namespace', $image_filepath, $alt, $title, $attributes); ?>

There is no object though for an inline image to retrieve $image_filepath; it's a part of $content or $node->body.

fizk’s picture

Status: Active » Closed (fixed)

Please reopen if this is still an issue with ImageCache 6.x-2.0-rc1.