5093 Posts in 1516 Topics by 1113 members
|Go to End|
5 September 2011 at 9:14am
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.
8 September 2011 at 1:24am
Maybe http://www.leftandmain.com/silverstripe-modules/2011/08/25/kickassets/ could help?
|Go to Top|