Resizing Vaadin Image
<p>I am inserting an image from file into a UI. I am creating it in Vaadin 7.6.8 by following <a href="https://vaadin.com/docs/-/part/framework/application/application-resources.html#application.resources.file" rel="nofollow">these</a> instructions.</p>

<pre><code>String basepath = VaadinService.getCurrent().getBaseDirectory().getAbsolutePath();
FileResource resource = new FileResource(new File(basepath + "/WEB-INF/images/image.png"));
Image image = new Image("", resource);
</code></pre>

<p>However I am unable to rescale or resize the image at all. The image is always being displayed in full size. </p>

<p>Is there a way that I can scale down the image without using CSS ?</p>