My uiCropper is being used to produce a fullsized image and a thumbnail. currently using result-image-size='[{w: 1500,h: 1500}, {w: 300,h: 300}]' works. but if I try to go result-image-size='[max, {w: 300,h: 300}]' or any combination of quotes around max it fails to produce the first image. Is there currently a way to do this?
I was also trying to generate the value for this property in javascript so that once the ng-model is loaded I can just paste in the original width and height. However, the only way I could get angular to load in my string was with result-image-size="'{{test}}'" where test is a scope variable string. However this broke the object and produced no images.
My uiCropper is being used to produce a fullsized image and a thumbnail. currently using result-image-size='[{w: 1500,h: 1500}, {w: 300,h: 300}]' works. but if I try to go result-image-size='[max, {w: 300,h: 300}]' or any combination of quotes around max it fails to produce the first image. Is there currently a way to do this?
I was also trying to generate the value for this property in javascript so that once the ng-model is loaded I can just paste in the original width and height. However, the only way I could get angular to load in my string was with result-image-size="'{{test}}'" where test is a scope variable string. However this broke the object and produced no images.