after adding an image to different categories,

creating a simple view - that list all items,
and adding the field - Taxonomy Image: Image

then it creates *multiple* listing in the View,
for every node that belong to categories with images -

so instead of:
"title of first node" "image1" "image2"
"title of second node"
"title of third node" "image1"

i get:
"title of first node"
"title of first node" "image1"
"title of first node" "image2"

"title of second node"

title of third node"
title of third node" "image1"

etc.

(maybe that's what 'Duplicates with View2' issue is referring to as well)

Comments

nancydru’s picture

Yes, pretty much the same thing, except that one is for Views2. #302017: Multiple displays of same entry for every taximage with View2

shaal’s picture

Status: Active » Needs review
StatusFileSize
new3.73 KB

i hope this is the right way to submit a patch,
it should change only this file -
contributed\taxonomy_image_link_alter/taxonomy_image_link_alter.module

it fix 1 listing per item in View,
and adding the option - to display taxonomy "As Images".

nancydru’s picture

Thank you for the patch. I think I can work with this one. In the future you should use the -u and -p options on diff.

shaal’s picture

Component: Views » Contrib Link Alter
StatusFileSize
new3.86 KB

oops, sorry
attaching new patch (with -u and -p)

nancydru’s picture

That's just deleting all that code?

shaal’s picture

StatusFileSize
new3.86 KB

oh no,
it should add code

i guess i put the files in the wrong order.

attaching a fixed patch.

nancydru’s picture

Priority: Critical » Normal

Okay thanks.

nancydru’s picture

Status: Needs review » Fixed

Committed on the 5.x branch.

Status: Fixed » Closed (fixed)

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

Nicolas Bousselet’s picture

Version: 5.x-1.4 » 6.x-1.5

I use the 6.x-1.5 drupal's version, and I ask me if someone have a patch for this version ? Because Taxonomy Image 5.x-1.4 is not compatible with my version of drupal.

baff’s picture

subscribe

giorgosk’s picture

@baff
how about trying
Distinct: Yes in the basic views settings

baff’s picture

@GiorgosK - I will try - thanks!