In the main wix Editor the $w.Image element has a design setting that gives access to image frame design properties for border and shadow.
It would be great to be able to change the frame of an image in code. Without this you have to have two elements on the page and show/hide or expand/collapse the one you want to simply change the color border. I have tried to use a box for the accent color but this is not satisfactory as making the color transparent is tricky (even using rbga or #xxxxxxxx syntax).
$w(‘#image1’).frame.style.borderColor = xxx etc. would be helpful!
Cheers
Steve