N/A
This release fixes a race condition when using the onLoad
callback with imgix.fluid()
where if multiple image updates are requested before the first image actually loads then fluidUpdateCount
could be incorrect.
attachGradientTo
no longer requires a base color to be passed.rgba
colors are now valid as well. see docs
N/A
attachGradientTo
added toimgix.URL
see docslazyColorSet
config option added toimgix.fluid
see docsonLoad
config callback added toimgix.fluid
see docs
N/A
AMD Support
N/A
Improved pinch zoom by taking scale
value directly from gesture event.
Fixed pinch zoom on iOS devices.
N/A
Ensure version was properly reflected in source code for git tag.
imgix.fluid
now supports maxHeight
and maxWidth
options to ensure no requests over this size are requested automatically via imgix.js. This both default to 5000.
N/A
imgix.fluid
now supports lazy loading of images with when the lazyLoad
option is set to true
. This option defaults to false
for backwards compatibility.
N/A
Add support for the imgix blend API.
N/A
Respect protocol of request.
N/A
imgix.fluid
now supports an ignoreDPR
option that when set to true
never sets the dpr
imgix param (even on retina screens). This option defaults to false
for backwards compatibility
N/A
N/A
- URL.setBlend(val)
- URL.setBlendWidth(val)
- URL.setBlendHeight(val)
- URL.setBlendPadding(val)
- URL.setBlendFit(val)
- URL.setBlendAlpha(val)
- URL.getBlend()
- URL.getBlendWidth()
- URL.getBlendHeight()
- URL.getBlendPadding()
- URL.getBlendFit()
- URL.getBlendAlpha()
For example:
var i = new imgix.URL('http://static-a.imgix.net/macaw.png');
i.setSepia(50).setWidth(50).setHeight(100);
i.attachImageTo('.macaw');
imgix.fluid
now supports a token
option for signing images.
var opts = {
token: "TOKEN_HERE"
}
imgix.onready(function() {
imgix.fluid(opts);
});
N/A