Hello Experts,
Please suggest me to resize the thumbnail in ms crm , as it is taking part of the image other part of the image it is cutting.while uploading images it should be compressed in edit image please any body suggest it is project scenario.
function load()
{
var dyanmicsImageUrl = window.parent.Xrm.Page.context.getClientUrl() + "/image/download.aspx?attribute=entityimage&entity=" + window.parent.Xrm.Page.data.entity.getEntityName() + "&id="+window.parent.Xrm.Page.data.entity.getId() + "&Timestamp="+ new Date().getTime();
document.getElementById("form_pic_image").src = dyanmicsImageUrl;
}
Hi Amrutha,
manipulating directly the DOM to fulfil your requirement is not recommended as it is unsupported and can break after any update, so I would not recommend that approach.
Could you consider addressing that issue by providing picture ratio recommendations to the users uploading the images?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156