This patch slightly modifies images using taxonomy_image. First, the images become links. Secondly, if a picture, the name of the term is not shown.
For example, see the screenshot.
If you do not get, including this patch or its equivalent in the main release.

CommentFileSizeAuthor
screen1.jpg88.31 KBgagaga
taxonomy_list.patch69.74 KBgagaga

Comments

nancydru’s picture

Title: Patch » Make images a link
Status: Patch (to be ported) » Closed (duplicate)

Please compare this to #475314: Link on taxonomy image in taxonomy list. and negotiate on the solution.

jolidog’s picture

Hello NancyDru! Glad to see you active again, hope everything is ok.

Back to the issue, this patch is a bit convoluted, and it uses a hardcoded <a href="'.taxonomy_term_path($term).'"> tag. And I think adds some unnecessary code.

The patch in #475314: Link on taxonomy image in taxonomy list. is cleaner and uses the l function. So in my close to none knowledge of coding I think you should commit the other patch, it's working fine and I think it's cleaner.

Just my opinion...

Thanks!

nancydru’s picture

I have committed the other patch, mostly because this one is not a patch, but a full module file.

vitis’s picture

sub