It would be nice to be able to choose which fields(custom) get displayed as Title and Alt because I have added custom fields to my image file type but they are not available in galleryformatter.tpl.php.

All I get in the "alt" is "image 1", "image 2" ..etc

Comments

marktheshark’s picture

+1

I have alt and title set to the same value and as a result I get the same caption twice.

PMZ’s picture

I have exactly the same problem...
Any hint how to solve it (show only Alt OR Title)?

cdallaire’s picture

To fix this I made a patch that sends the whole item element to the theme template so I have access to all my custom image fields and can choose which ones I'd like to appear as caption.

cdallaire’s picture

Found a better way to do this. Not sending the items to the template but putting the item in the slide so when looping in the slides we have access to all the item's info.

astonvictor’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

I'm closing it because the issue was created a long time ago without any further steps.

if you still need it then raise a new one.
thanks