External Image Resource


i am working with Vaadin + Navigator 7 add-on.

Now I’m trying to get an external image …

Could anybody tell me how to do this?

“FileResource” didnt work for me.


What are you trying to do? Adding an image from an external webpage to your application? Then try this:

addComponent(new Embedded(
        "Vaadin Logo",
        new ExternalResource(

Or do you want to add an image from a theme to your view?

addComponent(new Embedded("Vaadin Logo", 
    new ThemeResource("img/vaadin-logo.png")));