Skip to content
This repository has been archived by the owner on Jul 21, 2019. It is now read-only.

fritzmg/contao-default-densities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contao Default Densities

This Contao extension replaces the Contao\Picture class in order to be able to define default pixel densities/scale factors.

Contao 3.4 and upwards provide the possibility to use automatically generated responsive image sets. These must be defined in the theme's setting. However, if an editor needs to or wants to set the size of an image individually, he cannot rely on those. Thus the generated image will be a plain image and potentially look bad on devices with a dppx greater than 1. With this extension you can optionally define default pixel densities/scale factors which then will be used for any such custom sized images.

This functionality is already built into Contao 4.4.0.

About

This Contao extension replaces the Contao\Picture class in order to be able to define default pixel densities/scale factors.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages