• MODX.com

    1,385 downloads

imageSlimHISRC

imageSlimHISRC is an extra by dashmedia, first released on 2014-08-14.

Package Description

==1.04pl==

-set FAR to false to prevent white-space being added to images

==1.03pl==

-Fixed inline width and heights being output as 0px

-Fixed hisrc not correctly generating 1/2 size when smaller than the maxWidth

-Changed default maxWidth and maxHeight to 1000px

==1.02pl==

-Fixed issue where three values were being passed to setAttribute

==1.01pl==

-Fixed issue where images where being generated as 1px coloured squares

==1.0pl==

-Inital release

-Fixed issue where the hisrc output wasn't being generated when images are not "too large"

Usage/Installation Instructions

[[*myRichTextArea:imageSlimHISRC]]

[[*myRichTextArea:imageSlimHISRC:=`hisrcBg=1`]]

[[*myRichTextArea:imageSlimHISRC:=`maxWidth=700`]]

Install via package control, you will also need pThumb, or phpThumbOf. If you get a resizer error check the imageslim.use_resizer system setting.

hisrc.js can be found on Github and must be initialised within your javascript. imageSlimHISRC will output data-image="hisrc" on images by default, and data-image="hisrc-bg" when hisrcBg is set to 1

Details

Developer(s)
dashmedia
Released
2014-08-14
First seen
2014-08-14
License
GPLv2
Supported databases
MySQL
Minimum MODX Requirement
2

imageSlimHISRC Releases

Vendor Signature Released on
MODX.com 1.0.4-pl 2014-08-14 (4 years ago)