Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Image names via form

Started by Muut Archive 10 years ago · 0 replies · 429 views
10 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 2544 9 years ago
Archive · by Muut Archive, 9 years ago
2 1673 9 years ago
Archive · by Muut Archive, 9 years ago
2 4957 9 years ago
Archive · by Muut Archive, 9 years ago
1 3781 9 years ago
Archive · by Muut Archive, 9 years ago
3 1787 9 years ago