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
72
72
}
73
73
$ config .= 'devicePixelRatioList: ' . $ this ->formatRatioList ($ this ->config ->getDevicePixelRatio ()) . ', ' ;
74
74
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
+ }
76
80
}
77
81
$ config .= 'token: \'' . $ this ->config ->getToken () . '\' ' ;
78
82
return $ config ;
Original file line number Diff line number Diff line change 2
2
3
3
All notable changes to this project will be documented in this file.
4
4
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
+
5
10
## [ 2.0.3] - 2022-04-27
6
11
7
12
* Support Multiple store views(websites)
Original file line number Diff line number Diff line change 7
7
"ext-libxml" : " *"
8
8
},
9
9
"type" : " magento2-module" ,
10
- "version" : " 2.0.3 " ,
10
+ "version" : " 2.0.4 " ,
11
11
"license" : " BSD-3-Clause" ,
12
12
"authors" : [
13
13
{
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" ?>
2
2
<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
3
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 " >
5
5
<sequence >
6
6
<module name =" Magento_Catalog" />
7
7
</sequence >
Original file line number Diff line number Diff line change 1
1
var config = {
2
2
map : {
3
3
'*' : {
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'
5
6
}
6
7
}
7
8
} ;
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ window.lazySizesConfig.init = false;
25
25
<?php endif ; ?>
26
26
27
27
<!-- 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>
29
29
30
30
<!-- Initialize cloudimage responsive -->
31
31
<script>
You can’t perform that action at this time.
0 commit comments