Perhaps I misunderstand the question, but <opdrachten/284/IMG_0013.JPG> is not valid HTML. Perhaps you want something like this?
<img src="opdrachten/284/IMG_0013.JPG" /> _____________________________________________________________________ I have yet to meet a C compiler that is more friendly and easier to use than eating soup with a knife. From: Delange <delan...@telfort.nl> To: users@wicket.apache.org Date: 11/06/2012 03:20 PM Subject: Image source location problems, examples did not help Maybe it's easy but I struggle to long with it. In my webapplication I have this structure myapplication css images WEB-INF classes etc etc My Html looks like this <opdrachten/284/IMG_0013.JPG> My Java is: StaticImage imageTest = new StaticImage("imagetest",new Model("/opdrachten/284/P1010841.JPG")); form.add(imageTest); Then on my page the link is </opdrachten/284/P1010841.JPG> I also tried Image but that didn't work either. What's wrong? And what to do when the location in another directory on the same system? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Image-source-location-problems-examples-did-not-help-tp4653664.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org ** This email and any attachments may contain information that is confidential and/or privileged for the sole use of the intended recipient. Any use, review, disclosure, copying, distribution or reliance by others, and any forwarding of this email or its contents, without the express permission of the sender is strictly prohibited by law. If you are not the intended recipient, please contact the sender immediately, delete the e-mail and destroy all copies. **