Re: [Freemarker-devel] Inclusion of images in webpage
Generates text that depends on changing data (like dynamic HTML).
Brought to you by:
revusky
From: Daniel D. <dd...@fr...> - 2015-04-05 16:44:29
|
This has nothing to do with FreeMarker actually. The image is loaded by your browser, not by FreeMarker. The image URL is resolved by the browser relatively to the URL where the FreeMarker-generated page appears. That final URL then must point to the visitable URL of the image. Sunday, April 5, 2015, 1:21:19 PM, Loreto Gomez wrote: > Hallo: > > I’ve been trying to add an image to the web page but for the > moment It’s been impossible to visualize it. > > I add the following to the ftl file: > > <img src="../images/poweredby_big_ffffff.png" width="100" height="113" alt="My image"> > the path of images folder is the following: > Desktop\proyect\src\main\resources\images > I’m using freemarker 2.3.19 > This is what I get on the browser. > > Thanks for your help > Loreto > > > > -- Thanks, Daniel Dekany |