Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Archive

Image names via form

Started by Muut Archive 9 years ago · 0 replies · 320 views
9 years ago

Im building a theme with an array of images within a page. Im creating the image array via the File Form and I'm pulling the img.name for a caption. I have been checking the docs but found no way to set the name attribute for each file individually via a Form option. At the moment I'm doing it manually in the YAML but thats not very client-friendly. Any ideas?

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1282 9 years ago
Archive · by Muut Archive, 9 years ago
2 889 9 years ago
Archive · by Muut Archive, 9 years ago
2 4019 9 years ago
Archive · by Muut Archive, 9 years ago
1 2894 9 years ago
Archive · by Muut Archive, 9 years ago
3 1078 9 years ago