Hi,
How to create image gallery in admin panel in silverstripe 3.1
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.
I'm pretty sure there are multiple modules for this. Basically it's something like this:
class Page extends SiteTree {
private static $many_many = array(
'Images' => 'Image',
);
public function getCMSFields() {
$fields = parent::getCMSFields();
$fields->addFieldToTab('Root.Images', UploadField::create('Images') );
return $fields;
}
}
<% loop $Images %>
$Tag
<% end_loop %>
http://www.silverstripe.org/learn/lessons/
http://docs.silverstripe.org/en/3.1/tutorials/
Hi Delvin,
Thank you .I tried this solution and it goes