How to have more than one image in the authoring dialog?
So I have a generic image component that is used by other components whenever they want to render images. I'm trying to update it to support remote images, so it has a data-sly-use.image="com.adobe.cq.wcm.core.components.models.Image", and the image's src is set to image.src so that it works with remote images. The issue that I'm dealing with is when there's more than one image in an authoring dialog.
The way I would deal with this for local images was having a different name for the fileReferenceParameter field, but I'm not sure how to get around that for remote images. For some reason, image.src references the latest uploaded image so there doesn't seem to be a way to differentiate between all the images.