Hallo,

I have nodes containing text fields, image fields and file fields and taxonomy tags.

Now I will like to make 2 different views, one for displaying all the images (like a gallery with a exposed filter) and one for searching for the right document.

When I use "create a new view"
display "files" of type "image"

I don't get any duplicates displayed. But my view is just not good. I would like to display thumbnail images with the node tite under need.
And as for the files / PDF documents i would like to display the title information instead of the actual file title.

Sow I add some relationships to my view (the images view).
file: content using fieldname1
file: content using fieldname2
Node Hierarchy: Product relation ID

In my fields
(relationship fieldname1)content: fieldname1
(relationship fieldname2)content: fieldname2
(relationship fieldname1)content:title

Filter criteria:
file: type (in image)
(relationship node hierarchy)content: has taxonomy terms (with depth)(exposed)

My Query settings are set to distinct - pure distinct.
I don't know if there's a possibility to set Query Comment of Query Tags to resolve this?
Can't find anything clear around this.

What i did find was use aggregation.
But then nothing displays at all or I get MySQL errors.

Basically the view for my file display is the same.
I just don't get the view I would like, and the only thing I can find is distinct - pure distinct, witch doesn't do the trick.

I need some-kind of filter on file name and than don't display that file name more than once.
Any help is always welcome !

I've attached an image of my view where you can see the problem.

CommentFileSizeAuthor
views-beelden.PNG398.35 KBAnonymous (not verified)

Comments

Anonymous’s picture

Leave it for the images I cheated.
I've grouped the fields together and then hide the grouped content in CSS.

Still think this isn't a good solution.
Because I pull the images out of the database and than hide them with css.
I'm a designer but I have the peeling that a programmer would hit me for a solution like this...

Anonymous’s picture

And also it isn't a solution for my files view...

Anonymous’s picture

Issue summary: View changes

Just a clean up off the text

mustanggb’s picture

Status: Needs work » Closed (outdated)