-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Do you want to request a feature or report a bug?
Reporting a bug.
What is the current behavior?
In edit mode, images are being given a width and height property which causes them to be stretched in the editor (in preview they look normal)
If the current behavior is a bug, please provide the steps to reproduce.
Insert Image into component calling RenderDpiAware(900, null, null, 2, false)
Editor HTML for image -
<img src="/sitecore/shell/~/media/ANS/Sites/ANS/Images/ScaryTurtle.ashx?h=600&iar=0&mw=900&w=900" alt="" width="900" height="600">
Preview HTML for image -
<img src="/ans/~/media/ANS/Sites/ANS/Images/ScaryTurtle.ashx?mw=900&hash=9698518DB916174D67CC382CCE240600" srcset="/ans/~/media/ANS/Sites/ANS/Images/ScaryTurtle.ashx?mw=1800&hash=490C9FF1229D61E5EC3D0ABB2CC19AE2 2x">
Please mention your Sitecore version and Synthesis version.
10.1 SC, 9.1.6 syn

