contaoblackforest/contao-image-srcset 问题修复 & 功能扩展

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

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

contaoblackforest/contao-image-srcset

最新稳定版本:1.0.2

Composer 安装命令:

composer require contaoblackforest/contao-image-srcset

包简介

Contao Image SrcSet for Contao OpenSource CMS

README 文档

README

This module extends the file type image in file management, so you can save a picture source set for images.

System requirements

  • Web server
  • PHP 5.3.2+ with GDlib, DOM, Phar and SOAP
  • MySQL 5.0.3+
  • contao-core >=3.2-dev,<4-dev
  • contao-community-alliance/composer-plugin
  • menatwork/contao-multicolumnwizard

Installation

easy to install via Composer-Package-Management in Contao-CMS

Usage

The image formats from the preferences in Contao are supported.

The images source set must be enabled in the corresponding page layout. In the file management the adjustments at the main frame accordingly. The result is this html element.

<img src="image.jpg" srcset="image_320.jpg 320w, image_600.jpg 600w, image_900.jpg 900w" alt="">

alt text

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0
  • 更新时间: 2015-02-06