function taxonomy_image_get_url in Taxonomy Image 6
Same name and namespace in other branches
- 5 taxonomy_image.module \taxonomy_image_get_url()
Function to get a url for an image, for use in css, html or other client-side code.
Parameters
$tid - the term id:
Return value
The url string.
File
- ./
taxonomy_image.module, line 195 - taxonomy_image.module Simple module for providing an association between taxonomy terms and images. Written by Jeremy Andrews <jeremy@kerneltrap.org>, May 2004.
Code
function taxonomy_image_get_url($tid) {
$image = taxonomy_image_get_object($tid);
return $image->url;
}