Hey guys,

Nice work with this module. But i have sometimes , the problem that i need only a url from imagecache. how about implementing this theming function

function theme_imagecache_url($namespace, $path) {
  $attributes = drupal_attributes($attributes);
  if (module_exists('transliteration'))
  $imagecache_path = file_create_url(file_directory_path() .'/imagecache/'. $namespace .'/'. transliteration_get($path));
  else
  $imagecache_path = file_create_url(file_directory_path() .'/imagecache/'. $namespace .'/'. $path);
  return $imagecache_path;
}

so it would be easier for template working. ( Normally i wrote my own theme_imagecache and give a new function parameter ).

Bye

Comments

drewish’s picture

Status: Active » Closed (duplicate)