infoweb-internet-solutions/yii2-image-gallery 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

infoweb-internet-solutions/yii2-image-gallery

最新稳定版本:1.0.8

Composer 安装命令:

composer require infoweb-internet-solutions/yii2-image-gallery

包简介

Yii2 image gallery

README 文档

README

This extension provides a way to manage image galleries for your website.

Installation

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.

Usage

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

Configuration

All available configuration options are listed below with their default values.

allowContentDuplication (type: boolean, default: true)

If this option is set to true, the duplicateable jquery plugin is activated on all translateable attributes.

enableDescription (type: boolean, default: true)

If this option is set to true, it is possible to add a description.

enableDate (type: boolean, default: true)

If this option is set to true, it is possible to add a date.

defaultThumbnailWidth (type: integer, default: 250)

This sets the default width for thumbnails

defaultThumbnailHeight (type: integer, default: 150)

This sets the default height for thumbnails

统计信息

  • 总下载量: 167
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 5
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-02-11