MEDIA MANAGER COMPONENT
Manage your files easily! Group them painlessly!
Configuring Media Thumbnails:
Open
app/config/backend/backend.phpand update with your needs
/*
* Media Manager thumbnails
*/
'thumb_sizes' => array(
'small' => array(150,120),
'medium' => array(300,200),
'large' => array(600,450),
),
List files or directories of a specific folder
$result = $this->dispatch(new Darryldecode\Backend\Components\MediaManager\Commands\ListCommand(
'/galleries',
true
));
$files = $result->getData()['files'];
$directories = $result->getData()['directories'];
More documentation coming soon or you may help us improve the docs by making pull request here: https://github.com/darryldecode/laravelbackend-site