diff --git a/control/design/index.html b/control/design/index.html index f8d7542..0c03a58 100644 --- a/control/design/index.html +++ b/control/design/index.html @@ -20,6 +20,8 @@ @@ -74,7 +76,7 @@
+ - + @@ -84,7 +86,7 @@
+ - + @@ -95,7 +97,7 @@
+ - + @@ -105,7 +107,7 @@
+ - + @@ -366,14 +368,14 @@ } }; - $scope.cropImage = function (url, width, height) { + $scope.cropImage = function (url, width, height, dividedBy) { if (!url) { return ""; } else { let croppedImage = buildfire.imageLib.cropImage( url, - { width, height }); + { width: width / dividedBy, height: height / dividedBy }); return croppedImage } };