Please read the size of the image before rotation and apply them again after that, (the height as the width and vise versa)
Please read the size of the image before rotation and apply them again after that, (the height as the width and vise versa)
im not sure how to apply them again after that.
var imgData = "https://api.appery.io/rest/1/db/files..." + value;
var img = new Image();
img.src = imgData;
img.onload = function() {
var imgSize = {
w: img.width,
h: img.height
};
Code: Select all
if (imgSize.w imgSize.h) {
$("[name=image]").css('-webkit-transform', 'rotate(90deg)');
}
};
return imgData;
how do i apply them again? thanks
We are very sorry, but this is something outside the scope (https://docs.appery.io/docs/general-s...) of our standard support.
Please check the code, which sets image value to your image components.