Hi

First off great work to date. Please keep going !!!!

On the gallery thumbnail page I cannot get captions to display at all, although my default settings at admin/settings/node_gallery/edit/node_gallery_gallery for Fields is both checkboxes selected. Secondly when I disable the Title checkbox the titles persist in being displayed ( but still no captions ).

Secondly is there a reason why we MUST select either Title or Caption for display ? It would be more flexible to be able to leave some Caption text attached to the node, but uncheck the Caption checkbox so it was not displayed. We could then enable it at a later date if we wished. Just a usability thought.

Thanks in advance,

Dave

Dave

Comments

kmonty’s picture

Version: 6.x-2.0-alpha10 » 6.x-2.x-dev
Category: bug » support
Status: Active » Closed (fixed)

The fields are presented to add to the manage images edit form, not for display. Please see your content type's display settings for that.

Currently you can display whatever text you want by overriding the theme functions / template preprocessing.

BiggerBang’s picture

Could you advise on how to remove the title of each image from the thumbnail page? I've looked at the .module and .css file but can't see anything there that will do it, and it can't be done through administering content type.

I want to add 40-50 images to a gallery, but they're all called dsc0222.jpg or similar and I'd rather not have to find interesting names for all of them!

Thanks for a great module!
Andy

dbeall’s picture

Hi Andy, Hope this info helps..

From the node_gallery handbook
http://drupal.org/node/544050

HowTo: Configure Node Gallery
http://drupal.org/node/544642

Configuration for Each Gallery Relationship
http://drupal.org/node/544642#configr

BiggerBang’s picture

I'm afraid not, I've been through all these settings but still cannot remove the titles in the thumbnails view. Surely there must be a CSS option, but I can't find where it's located. I get lost with all the DIVs - using Firebug points me towards image-thumbnail-view, but I don't know which file defines this.

alekth’s picture

I'm having the same problem, I'd rather just have the gallery appear as a grid of thumbnails without titles.
However, I think what is output on the template page is hardcoded somewhere in theme.inc and I didn't manage to separate thumbnails from titles.

dbeall’s picture

well, lets see. Copy the gallery-image-thumbnail.tpl.php file from the node_gallery/theme folder and paste it into your theme folder sites/all/themes/lightfantastic (for example) and remove the title from it.
<div class="image-title"><?php print $title_output; ?></div>

if you use a core theme, paste it in themes/garland (for example)
Be sure to clear the cache after making any changes.
( administer > Site configuration > Performance )-clear cached data-

EDIT: for the grid, you will need to use the css for that part.. There are 2 code snippets in the handbook that work. Either snippet can be added to your theme css file, at the bottom of the existing css code and play with it a little bit to get what you like.