I would like to create an image gallery and be able to change the order of the images from the admin plugin. Is there a good way to accomplish this outside of naming my images file names a certain way?
Initially, I thought I could use the List field in combination with a File field. However, if I understand this post [https://github.com/getgrav/grav-plugin-admin/issues/642] correctly, that is currently broken.
When I use a File field inside of a List field, and try inserting two images, I get lots of extra, null data inserted into my page (and into the Admin interface). Example:
slideshow: - photo: null - photo: null - photo: null - photo: null - photo: null - photo: 'user/pages/01.home/housepicture.png': name: 'housepicture.png' type: image/png size: 1780856 path: 'user/pages/01.home/housepicture.png' - photo: null - photo: 'user/pages/01.home/carpicture.png': name: 'carpicture.png' type: image/png size: 2044203 path: 'carpicture.png'
Are there any other fields that might allow sorting of images?