Trying to transition to Editor X and there is a lot to love!!
However, this is driving me nuts!
My page allows a user to select records from a repeater; onClick it set a single image to the record’s image field:
$w(‘#image’).src = record.image;
Correct image gets displayed! All good there, however, the image resizes all the time! It is Fluid because it adjusts to the size of the parent elements which adjusts to the size of the browser (I love that!).
But that’s the fail too! When .src is set the size changes too!
If image is set to Fixed sizing, it’s fine but no longer responsive to browser size (unless I manually set the break point sizes).
I tried setting $w(‘#image’).fitMode to every option and it doesn’t matter.
I can’t have both Fluid image AND set .src? Yes or no?
Thanks!