#82101Change ClickEnlargeViewHelper image argument type
Description
I found that the image argument of the ClickEnlargeViewHelper has to be of type FileReference. This crashed my CE, because I tried to add a File object as the image to render for click enlarge. Out of curiosity, I changed the type of the image argument to accept FileInterface and it worked perfectly for me.
Is there a reason why this argument is limited to FileReferences only or can it be changed to accept FileInterface?
As far as I see, the FileReference is just another implementation of the FileInterface, so this shouldn’t lead to any issues in the code later on, unless something is relying on the image to be a FileReference, which would be an error then imo.