Skip to content

Releases: imazen/slimmage

Fix bug affecting querystring keys starting with w or h

11 Mar 13:16
Compare
Choose a tag to compare

Fix bug causing any parameters starting with w or h to be removed or corrupted. Contributed by @Jeavon Also fixes #50

Improves functionality on IE 6/7/8

16 Jan 17:30
Compare
Choose a tag to compare

Handle resize event on IE 7/8, and increase image size.
Fixes “failed to ratched” errors. Improve fluidity of enforceCss when max-width no longer needs to be applied.

Many bug-fixes, better API, easier to extend.

16 Jan 03:43
Compare
Choose a tag to compare
  • Only fire window.slimmage.readyCallback on first checkResponsiveImages() and when there have been actual modifications to images.
  • Add window.slimmage.webpTimeout to increase likelyhood of webp usage working. Disable verbose output by default.
  • Apply maxWidth after widthStep instead of before (lowers upper bound from 2080 to 2048).
  • Stop inverting jpeg and webp quality values.
  • Fix IE6/7 setAttribute bug; class value was not copied from noscript element.
  • Add window.slimmage.enforceCSS setting; can emulate max-width on IE6/7/8, which lack an implementation.

Fix severe bug in 0.2.4 and 0.2.5

09 Jan 19:27
Compare
Choose a tag to compare

This bug is a typo that can cause images to fail to load on IE6-10.

Improves extensibility; 1 internal function name change

07 Jan 00:59
Compare
Choose a tag to compare

[deprecated - use 0.4.1 - images can fail to load]

  • Make 'data.element' available to slimmage.adjustImageParameters, so plugins have more information.
  • Add window.slimmage.beforeAdjustSrc callback function - this allows users to inject behavior between noscript parsing and img.src edits. (say, to offer alternate criteria, like a css class, for involving images).
  • Replace adjustImageSrcWithWidth with getImageInfo, make adjustImageSrc responsible for more. Simplifies certain kinds of extension, such as background image support, as the size calculation can be reused.

Fix css size calculation when parent is floated (Safari only)

06 Jan 22:03
Compare
Choose a tag to compare

Merge #30 from Jeavon - Fix css size calculation when the parent div is floated in Safari (both OS X and iOS). (otherwise 0x0)

0.2.4 - Several bug fixes and automated tests

06 Jan 21:40
Compare
Choose a tag to compare
  • Added automated test suite. Sorry for the delay in PR acceptance, but a test suite seemed essential for long-term stability.
  • Merge #25 from perosb - Pass image url into data structure to allow logic based on file name.
  • Merge #27 from dancek - Configurable max-width and quality parameters
  • Merge #36 from dancek - Fix behavior when max-width is not defined (IE8) (replaces #18, fixes #29)
  • Refactored access notations to eliminate both minification errors and lint.
  • Fix bug: Perfect multiples of stepWidth were being rounded up to the next interval (images larger than needed in some instances).