Download the PHP package digitalunited/du-responsive-images without Composer
On this page you can find all versions of the php package digitalunited/du-responsive-images. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download digitalunited/du-responsive-images
More information about digitalunited/du-responsive-images
Files in digitalunited/du-responsive-images
Download digitalunited/du-responsive-images
More information about digitalunited/du-responsive-images
Files in digitalunited/du-responsive-images
Vendor digitalunited
Package du-responsive-images
Short Description Responsive Images for Developers
License MIT
Homepage https://github.com/digitalunited/du-responsive-images
Package du-responsive-images
Short Description Responsive Images for Developers
License MIT
Homepage https://github.com/digitalunited/du-responsive-images
Please rate this library. Is it a good library?
Informations about the package du-responsive-images
Responsive Images for developers
Why?!?
TODO
How?!?
TODO
Libs
Useage
Options
imgId
A WordPress attachment image id.
Output (All is not implemented yet)
- img: Regular img-tag (Not implemented, yet)
- img: Regular img wrapped in a div with kept aspect-ratio. The img behaves normal if the ratio setting is omitted.
- div: Div with srcset
- srcset: For usage in "data-srcset"-tag
Ratio (Optional)
The following aspect ratios are available.
- string "1x1"
- string "2x1"
- string "4x1"
- string "4x3"
- string "16x9"
- string "1x2"
- string "1x4"
- string "3x4"
- string "9x16"
Ratio (Only valid when "output = img-ratio" or "output = img")
imgAttributes and wrapperAttributes (Only valid when "output = img")
HTML attributes added to the wrapper-div and the img-tag when using img output mode
divWithBgImageAttributes (Only valid when "output = div")
Output as div has 2 premade helper classes to avoid inline styling, "cover" and "contain".
TODO
- Caching of rendering
- Ratios with bootstrap breakpoints
- Use printplugin for Lazysizes
All versions of du-responsive-images with dependencies
PHP Build Version
Package Version
The package digitalunited/du-responsive-images contains the following files
Loading the files please wait ....