Closed (fixed)
Project:
Taxonomy Image
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
2 Feb 2007 at 19:09 UTC
Updated:
27 Feb 2008 at 05:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
ddbowen commentedI would like to second the request for something like taxonomy_image_url(). In one of our themes we needed to use the image as a background image on a
<div>so we needed just the image path or url instead of a full<img>tag.I actually just patched taxonomy_image_display() to make it work for us and I attached it for your review. I left comments on lines 25 and 103 so you can see what I did.
This is a very simplistic patch to meet our immediate needs but it may be a start for more full featured output options, like hyperlinked images and captions which have been requested.
Thanks!
Comment #2
ddbowen commentedHere's a real patch for you.
Comment #3
nancydruI will check it out. Thanks for the patch.
Comment #4
nancydruAn even better fix was committed in http://drupal.org/node/178092.
Comment #5
nancydruSee also: http://drupal.org/node/221179
Comment #6
nancydru