Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
How can I change image title to gallery title when showing image.
How can I change image title to gallery title when showing image.
Comments
Comment #1
scroogie CreditAttribution: scroogie commentedCustomize the image template. See http://drupal.org/node/223440 or http://drupal.org/project/contemplate
Comment #2
gkazhus CreditAttribution: gkazhus commentedIt shows me only image title not gallery title on image page
Comment #3
scroogie CreditAttribution: scroogie commentedAh, yes, sorry. You will need some snippet to load the gallery first. The $node object will have a property "gid", which you need to node_load():
Comment #4
dddave CreditAttribution: dddave commentedComment #5
zengenuity CreditAttribution: zengenuity commentedThis looks like it should work.