Currently, I am attempting to enhance a Raphael image element by adding either a border, stroke, or drop shadow. My end goal is to create an animated glowing border effect. Previously, I successfully implemented this on traditional HTML elements using JavaScript. However, I am facing challenges when trying to achieve the same result with Raphael.
I have come across suggestions that involve using a rect with an image fill, but unfortunately, this approach does not work for me as I require the images to be scalable. The issue lies in not being able to specify the dimensions of the image fill.
Is there a method to modify a Raphael.image element's style attributes through JavaScript?
Warm regards,