This extension provides a way to manage image galleries for your website.
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist infoweb-internet-solutions/yii2-image-gallery "*"
or add
"infoweb-internet-solutions/yii2-image-gallery": "*"
to the require section of your composer.json
file.
Once the extension is installed run this migration
yii migrate/up --migrationPath=@infoweb/gallery/migrations
And modify backend/config/main.php
as follows:
return [
...
'modules' => [
'gallery' => [
'class' => 'infoweb\gallery\Module',
],
],
...
];
Import the translations and use category infoweb/gallery:
yii i18n/import @infoweb/gallery/messages
All available configuration options are listed below with their default values.
boolean
, default: true
)If this option is set to true
, the duplicateable
jquery plugin is activated on all translateable attributes.
boolean
, default: true
)If this option is set to true
, it is possible to add a description.
boolean
, default: true
)If this option is set to true
, it is possible to add a date.
integer
, default: 250
)This sets the default width for thumbnails
integer
, default: 150
)This sets the default height for thumbnails
Comments