Download & Extend

Link on taxonomy image in taxonomy list.

Project:Taxonomy List
Version:6.x-2.0-rc1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

5.x version has this feature. 6.x does not?
Or did I miss something?

Comments

#1

Status:active» needs review

No, I did not miss.

Changed line 170 to:

$new_tree[$tid]->image = $taxo_img ? l(taxonomy_image_display($term->tid, NULL, NULL, array('wrapper' => FALSE,)),$term_path, $options = array('html' => TRUE) ) : NULL;

and I got links.

#2

Thanks rudins!
I've changed a bit of your code to maintain the div wrapper and created a patch.

I didn't find any abnormal behavior, and everything is working fine.
Maybe it will get in 6.x-2.0-rc2...

Perhaps NancyDru is thinking of making this an option, but until there is a checkbox, in my opinion, this behavior should be the default.

AttachmentSize
taxonomy_image_link.patch 681 bytes

#3

Thank you!

#4

There is a similar feature in #501848: Make images a link. Please compare the solutions and see if they achieve the same result.

#5

Status:needs review» fixed

Committed to 6.x-2.x-dev

#6

Nice!

#7

Status:fixed» closed (fixed)

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