MODX EXTRA

srcset

Creates @1x and @2x images using srcset html attribute.

Creator: Dash Media (dashmedia)

0.1.3-beta (45 KB) Other Versions

About srcset

SrcSet is intended for use as an output modifier to easily generate a 1x and 2x version of images using the srcset attribute.

2x image should only be generated when the original image meets the minimum ratio requirements (see system settings, defaults to 2)

ImagePlus

SrcSet aims to support ImagePlus, so far everything I've tried with ImagePlus and srcset works as expected, but if you find any bug please let me know

Usage

Information

Released
August 30, 2018
Supported Versions
2.5 – Current
Supported Database
MySQL
Downloads
941
License
GPLv2
Website
Documentation

New in srcset 0.1.3-beta

## srcset 0.1.3-beta

- Prevent the failed processing of images when the input is empty

## srcset 0.1.2-beta

- Fix for spaces in image url's even after being processed through thumbnail snippet

## srcset 0.1.1-beta

- Fix for image vars with a leading slash (simpleupload)

## srcset 0.1.0-beta

- Initial release

More

Current Releases

0.1.3-beta
August 30, 2018
2.5 – Current
More
View Deprecated Releases

More from Dash Media

googleMap

googleMap

Output modifier turns an address into a Google Maps static map.

recursiveGrab

recursiveGrab

Snippet returns the value of a TV, recursively returning values from…

GetIdList

GetIdList

Snippet returns a list of resource ids. A fork of GetIds.

CloudFlare API Integration

CloudFlare API Integration

Save resource and clear MODX cache now clear CloudFlare cache.