Hi,

It is possible to implement a relative image url (by adding a relative = true/false parameter to the function call for example). Because absolute path don't work with imagecache.

If I do something like that :

  print theme('imagecache', 'category-recipe',  taxonomy_image_get_url(105));

It don't work, if I manually copy the relative path of the image, it works. It's not a tid problem, I have a drupal_set_message just before and the function successfully return the image url, but it's an absolute path.

Comments

zmove’s picture

Category: bug » support
Status: Active » Fixed

Hi,

I didn't see that there was a drupal taxonomy_image() that support imagecache setting. In addition I put a wrong categorie to that issue.

So fixes

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

BayerMeister’s picture

Hi, I'll just wanna say the function mentioned here is:

    function taxonomy_image_display($tid, $tags = NULL, $profile = NULL, $overrides = array())

these days located in taxonomy_image.module on line 26