WP Manifestindependent plugin directory
manifest / media / du-responsive-images

Responsive Images for Developers

Responsive Images for Developers

by Digital United, Tim Samuelsson · github.com/digitalunited/du-responsive-images · website

3stars
4kcomposer installs
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/digitalunited/du-responsive-images/archive/refs/heads/master.zip

Also on Packagist as digitalunited/du-responsive-images:

composer require digitalunited/du-responsive-images

From the readme

Responsive Images for developers # Why?!? TODO How?!? TODO Libs - https://github.com/aFarkas/lazysizes - https://github.com/syamilmj/Aqua-Resizer 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

Read the full README on GitHub →

Releases

TagPublished
0.0.15 May 22, 2017
0.0.14 Feb 15, 2016
0.0.13 Jan 26, 2016
0.0.12 Nov 20, 2015
0.0.11 Sep 17, 2015
0.0.10 Sep 17, 2015
0.0.9 Sep 7, 2015
0.0.8 Jun 1, 2015
0.0.7 Jun 1, 2015
0.0.6 Jun 1, 2015
0.0.3 May 7, 2015
0.0.2 Mar 23, 2015
0.0.1 Mar 16, 2015

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.