Closed (fixed)
Project:
Node Gallery
Version:
6.x-3.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jul 2010 at 09:52 UTC
Updated:
15 Dec 2010 at 16:19 UTC
For me, setting the Gallery teaser(list) with the default view node_gallery_gallery_image_views to show the Cover is broken.
Comments
Comment #1
dbeall commentedconfirm, if we are doing the same thing here.
no image in Gallery teaser(list)
no image in My Galleries(grid or list)
I do get a cover display in default and cover(grid)
Comment #2
scroogie commentedMhm, the code confuses me a bit. The view has only one argument, the parent gallery GID. But if the teaser is set to cover, the nid of the cover image is passed to the view instead. There should probably be either a second argument for the cover image, or a filter for cover instead.
Comment #3
justintime commentedGood catch on that. Those features were actually leftovers from 2.x, and they really don't fit the 3.x paradigm in my opinion. We want to do less in the module and do more in views, and those radio buttons on the admin page violated that.
That (and the fact that it would have been really hard to make those radios work) made me remove them :)
Instead, I added a couple new view displays, named "view cover image" and "view images teaser (cover only)" to the node_gallery_gallery_image_views view. If you go to the admin page and select one of those two views, you will get just the cover image when viewing the gallery.
Not only does this fix a bug, but it also provides an example to our users on how to display a cover image of a gallery using views relationships supplied by the module.
While this new code may have issues, it at least fixed this particular bug, so I went ahead and committed it.
Comment #4
dbeall commentednice, it just keeps getting better.
Comment #6
metabits commentedSorry but I think that I got the same problem.
When editing the node gallery settings for the default relationship, I wanted to display my galleries list not with all thumbs but rather the cover image only, so I see just one image of the gallery and my text / description for that gallery. But when selecting "Gallery teaser list" or "Gallery cover grid" for the "Gallery teaser(list) view settings", I see no cover image displayed, no matter wich image of the gallery I choose for the cover.
Any idea why?
And thanks for your work!
psc
Comment #7
justintime commentedYou're selecting gallery views where you need to select image views. Try the "View cover image" display from the node_gallery_gallery_image_views view.
We shouldn't allow you to select the wrong type of view here, I'll create a new issue to fix that.
Comment #8
metabits commentedThank you very mcuh for your quick answer.
Ok. I wnet to my Node Gallery Settings in Site Configuration.
In the List tab, I have only the Node Gallery Default relationship, which I can Change Settings.
So far so good.
When being in Change Settings, I went to section "Gallery Settings" and ther to "Gallery teaser(list) view settings". There I choose, as you told me to do it, "Vie cover image" and what I got is a page for "Galleries" or for "My Galleries" that repeats the gallery cover image as many times as pictures I have on each gallery.
What I would like is
- a gallery list with the cover image linking to the full page gallery
or
- a grid of galleries, each represented by its cover image
I think what I want is what it's meant to happen, but it doesn't
Am I still missing something?
Thanks
psc
Comment #9
scroogie commentedWhat did you choose as the View display to use at /galleries in the global settings of Node Gallery? It should be "Galleries cover grid".
Comment #10
metabits commentedIt was "Galleris teaser list" and I changed as you mentioned to "Galleries cover grid", and it displays the galleries in a grid. But no chance to get the galleries in a teaser list WITH cover image.
Once I set to global settings to that, no matter what settings I choose for a relationship, it keeps the global settings. Is this the way it should? I thought that maybe it would possible to set this depending on the relationship. For example, if I use one relation ship for displaying my photo archive in a grid and maybe a lis of selected works in a teaser one...
But thank you very much for answering so fast! And many thanks for the module as well.
psc