Hi I would like to create a field on a custom page that will allow me to select multiple images from a specific folder in the assets folder. It can either be a field that just selects all the images in the folder or a list that lets me select items in that folder. I've attempted to use the TreeMultiselectField but was unable to set a source in the media library or was setting it incorrectly. I also tried to use an ImageDataObjectManager and could set the upload folder but not the source folder. This left me seeing all images uploaded. I'm not sure which is a better approach or If I've just got it all wrong to begin with. If you have any suggestions your help would be much appreciated.
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
hi mawk,
Maybe http://www.leftandmain.com/silverstripe-modules/2011/08/25/kickassets/ could help?