react-cloudimage-responsive
Advanced tools
Comparing version 1.3.6 to 1.3.7
@@ -69,4 +69,4 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); | ||
var previewConfig = _extends({}, config, { queryString: '' }); | ||
previewCloudimageUrl = isAdaptive ? generateUrl('width', parentContainerWidth / 5, 'q10.foil1', imgSrc, previewConfig) : generateUrl(operation, resultSize.split('x').map(function (size) { | ||
return size / 5; | ||
previewCloudimageUrl = isAdaptive ? generateUrl('width', Math.floor(parentContainerWidth / 5), 'q10.foil1', imgSrc, previewConfig) : generateUrl(operation, resultSize.split('x').map(function (size) { | ||
return Math.floor(size / 5); | ||
}).join('x'), 'q10.foil1', imgSrc, previewConfig); | ||
@@ -73,0 +73,0 @@ previewSources = isAdaptive ? generateSources(operation, resultSize, 'q10.foil1', imgSrc, isAdaptive, previewConfig, true) : []; |
{ | ||
"name": "react-cloudimage-responsive", | ||
"version": "1.3.6", | ||
"version": "1.3.7", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "description": "Cloudimage Responsive will smartly resize, compress and accelerate images across the World in your site for all devices. The plugin supports lazy loading technique with fancy animation on image load.", |
@@ -1,2 +0,2 @@ | ||
[](https://github.com/scaleflex/react-cloudimage-responsive/releases) | ||
[](https://github.com/scaleflex/react-cloudimage-responsive/releases) | ||
[](https://www.cloudimage.io/en/home#b38181a6-b9c8-4015-9742-7b1a1ad382d5) | ||
@@ -3,0 +3,0 @@ [](#contributing) |
38416