*comment because original post could not be edited.
I had to add this code to my template file to make the image_alter work in views.
When I used the normal term and term_image fields,not all the terms were replaced by image.
The replacing only occurred for terms that were loaded with a node that was loaded on the page.
I fixed it at that time by changing some code in the node display module. (function nd_terms_per_vocabulary)
This is not very clean as it should be solved in the taxonomy image module.
That's why I posted the issue here.
My experience with this taxonomy image module (and more specific the compatibility) is not very great, and I discourage using this module.
In D7 terms will be fieldable so that won't be a problem anymore.
Comments
Comment #1
wouters_f CreditAttribution: wouters_f commented*comment because original post could not be edited.
I had to add this code to my template file to make the image_alter work in views.
When I used the normal term and term_image fields,not all the terms were replaced by image.
The replacing only occurred for terms that were loaded with a node that was loaded on the page.
The support for image_alter is lacking.
I also had to change some coding in display suite to make my build modes and term image_replacing work well.
The coding can be found below:
Please make some hooks or include views support for this module. I'm using it because it's great.
Comment #2
artis CreditAttribution: artis commentedWhere specifically did you place the code above that allows image_alter to work with views?
Thanks.
Comment #3
jddeli CreditAttribution: jddeli commentedPlease tell how do you fix it?
Comment #4
wouters_f CreditAttribution: wouters_f commentedI fixed it at that time by changing some code in the node display module. (function nd_terms_per_vocabulary)
This is not very clean as it should be solved in the taxonomy image module.
That's why I posted the issue here.
My experience with this taxonomy image module (and more specific the compatibility) is not very great, and I discourage using this module.
In D7 terms will be fieldable so that won't be a problem anymore.