Duplicate Variables

When using the any component block it will happen that variables override.
Like this:

Is there any way to fix this other then using a different component/extension?


is there any reason to use that advanced ImageLoaded event?
why is the default ImageLoaded event not sufficient?

Yes, this extension has a WhenLoaded event, while the inbuilt Image Utilities (load image async) does not. So this is something to put in #feedback:iwant.

Also, the reason why I need the event is that I show a circular progress while the image is loading, and after its loaded I hide it.