Hello,
I’m fairly new to vaadin so bear with me I’ve been experimenting with image processing.
So far I’ve been able to upload images, write the bytes back to the user/page from streamsource to Image, and save to the DB.
Is there best practice for pulling an image via URL in the VAADIN world? For example /MyVaadinApp/getImage?id=1234.
I did discover that when you drag an image an web page into the RichTextArea it saves a link to the image, but if you drag one from your local machine it actually saves the base64 encoded bytes into the html so it may be possible to avoid URLS in some applications.
In traditional template based frameworks, I would normally use and action/servlet/etc to pull the bytes and write them directly to the output stream along with mimetype.