定制 karls/reference-image-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

karls/reference-image-bundle

Composer 安装命令:

composer require karls/reference-image-bundle

包简介

Provides a new Field Type for handling image references.

README 文档

README

Provides a new Field Type for handling image references.

Installation

via composer

    composer require karls/reference-image-bundle

in config/bundles.php

Karls\ReferenceImageBundle\KarlsReferenceImageBundle::class => ['all' => true],

in config/packages/assets.yaml

framework:
    assets:
        packages:
            KarlsReferenceImageBundle:
                json_manifest_path: "%kernel.project_dir%/public/bundles/karlsreferenceimage/manifest.json"
                base_path: '/bundles/karlsreferenceimage'

Usage

Reference Image

Unite-CMS doesn't support references with images as a preview. Now you can reference a domain and content_type and also a preview_image. The preview_image setting defines which field of the content_type is a image and should be displayed when selected. The config should look like this (similar as normal reference):

{
    "type": "reference_image",
    "settings": {
        ... ,
        "preview_image": "image"
    }
}

All other configs are the same as a normal reference

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: Vue

其他信息

  • 授权协议: Unknown
  • 更新时间: 2019-12-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固