File tree Expand file tree Collapse file tree 7 files changed +1480
-5
lines changed Expand file tree Collapse file tree 7 files changed +1480
-5
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,11 @@ public function getConfigToString(): string
7272 }
7373 $ config .= 'devicePixelRatioList: ' . $ this ->formatRatioList ($ this ->config ->getDevicePixelRatio ()) . ', ' ;
7474 if ($ this ->config ->isOrgIfSml ()) {
75- $ config .= 'params: {org_if_sml: 1}, ' ;
75+ $ config .= "params: 'org_if_sml=1& " .$ this ->config ->getLibraryOptions ()."', " ;
76+ } else {
77+ if ($ this ->config ->getLibraryOptions ()) {
78+ $ config .= "params: ' " .$ this ->config ->getLibraryOptions ()."', " ;
79+ }
7680 }
7781 $ config .= 'token: \'' . $ this ->config ->getToken () . '\' ' ;
7882 return $ config ;
Original file line number Diff line number Diff line change 22
33All notable changes to this project will be documented in this file.
44
5+ ## [ 2.0.4] - 2022-08-01
6+
7+ * Support ``` params ``` options with Library option
8+ * Fix bug related to Swatch renderer, Catalog image not loaded through CI when change option in Catalog page
9+
510## [ 2.0.3] - 2022-04-27
611
712* Support Multiple store views(websites)
Original file line number Diff line number Diff line change 77 "ext-libxml" : " *"
88 },
99 "type" : " magento2-module" ,
10- "version" : " 2.0.3 " ,
10+ "version" : " 2.0.4 " ,
1111 "license" : " BSD-3-Clause" ,
1212 "authors" : [
1313 {
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
22<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
33 xsi : noNamespaceSchemaLocation =" urn:magento:framework:Module/etc/module.xsd" >
4- <module name =" Scaleflex_Cloudimage" setup_version =" 2.0.3 " >
4+ <module name =" Scaleflex_Cloudimage" setup_version =" 2.0.4 " >
55 <sequence >
66 <module name =" Magento_Catalog" />
77 </sequence >
Original file line number Diff line number Diff line change 11var config = {
22 map : {
33 '*' : {
4- 'fotorama/fotorama' :'Scaleflex_Cloudimage/js/fotorama'
4+ 'fotorama/fotorama' :'Scaleflex_Cloudimage/js/fotorama' ,
5+ 'Magento_Swatches/js/swatch-renderer' : 'Scaleflex_Cloudimage/js/swatch-renderer'
56 }
67 }
78} ;
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ window.lazySizesConfig.init = false;
2525<?php endif ; ?>
2626
2727<!-- Add js-cloudimage-responsiv library -->
28- <script src="https://scaleflex.cloudimg.io/v7/plugins/js-cloudimage-responsive/4.8.5 /plain/js-cloudimage-responsive.min.js?vh=1ee401&func=proxy<?= $ block -> getLibraryOptions () ?> "></script>
28+ <script src="https://scaleflex.cloudimg.io/v7/plugins/js-cloudimage-responsive/4.8.12 /plain/js-cloudimage-responsive.min.js?vh=1ee401&func=proxy"></script>
2929
3030<!-- Initialize cloudimage responsive -->
3131<script>
You can’t perform that action at this time.
0 commit comments