Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Image names via form

Started by Muut Archive 10 years ago · 0 replies · 401 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 2280 9 years ago
Archive · by Muut Archive, 9 years ago
2 1496 9 years ago
Archive · by Muut Archive, 9 years ago
2 4745 9 years ago
Archive · by Muut Archive, 9 years ago
1 3559 9 years ago
Archive · by Muut Archive, 9 years ago
3 1621 9 years ago