Skip to content
This repository was archived by the owner on Aug 26, 2019. It is now read-only.

ContaoBlackForest/contao-image-srcset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contao Image Srcset

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

About

Contao Image SrcSet for Contao OpenSource CM

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages