Load an image and show it in the mainview

Hi,

In version 2.2 I have an entity in which I load images with fileStorageUploadField.

Would there be a way to save those images when loading them in the META-INF/resources/icons folder?

I need to reference those images that are loaded in the image component that I have in the MainView.

Thanks.

Hi Daniel,

You cannot store uploaded images in JAR resources.

But you could load the image from the file storage and show in the image component using the standard data binding to your entity or a Stream Resource.

Regards,
Konstantin