Hi,

Does anyone know how i can display the gallery title on the image full node display page?

Or how i can change the 'back to gallery' link to display the gallery title instead.

Thanks,

Comments

dbeall’s picture

The thing is, well, the display image or image display is a 'node', and the node title is the image file name, not the gallery name. That is how Drupal works and is where the disconnect is at. Since the gallery node is for management/organizing of the image nodes, it doesn't actually hold the images, but it does have the main gallery title,, have to have a name to find it in the database.

well, this probably isn't exactly what you want, but might help *a little* hopefully..
I use pathauto patterns, custom breadcrumbs and tokens to make a breadcrumb trail that makes sense. -(sample page) the gallery name is the last part of the breadcrumb.
http://www.davebeall.com/node-gallery/building-shop-lake/startfooter001
-handbook bit on the breadcrumbs
http://drupal.org/node/544748#breadcrumbs

You could add the gallery title to the display with themeing or using a block with dynamic php code to display the title.

The title in place of back to gallery could be done as a new feature, but if the gallery name is long, we would have side effects to deal with.

Now, the thing is, I am almost sure you can do this with NG3 and views.

soundsational’s picture

Thanks for your help. It seems long winding just to get to display the gallery title. I do hope it's easy as just using Views to get the gallery title. Will test out NG3. cheers

dbeall’s picture

I was just looking at one of my sites that is using gallery2 and it acts the same with the title. I use the breadcrumbs there too.
In gallery2, the gallery title is on the thumbnail page, but not on the image display pages.

dddave’s picture

Status: Active » Closed (won't fix)

NG3 is the place to be (and receive support).