Forum
Gallery Images - Displaying Additional Fields on Front End for image.html
The gallery documentation details that we can add additional fields to Gallery master template for images (image.html) - these appear in the admin area for the uploaded images without issue. I am puzzled however - how do we display the data of these fields on the front end? Is that possible?
I add the following inimage.html:
<perch:gallery id="test" type="text" label="Test" />
And use the following to display the field's content - but it shows nothing
<perch:gallery id="test" />
Where are you using it?
I was using it in the template that lists out the images. a_list_image.html
Yes, that should work. What does
<perch:showall />
output?It shows the following:
Curious that
imageDynamicFields
is empty.When you edit your field, does the content repopulate correctly?
No. When I update the field, save and browse out and then go back in to edit the image - the field is empty.
This might be related to some customisation we have had done to the Gallery App. I'll have to check.
Ok. If you've edited the app we can't really offer you any support for it.
Thanks for you help anyway. :)