1- Mount a resource on e.g. "folderimages/${name}". This resource just read
parameter name goes to your folder and stream back file name.
2- then url "/folderimages/a.jpg" will serve "a.jpg".http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/ On Fri, Jul 22, 2016 at 8:48 AM, ivan.cicevac < [email protected]> wrote: > Hi all, > > I'm using external css and js libraries and to make story short, I need to > have image added using tag and src attribute, I cannot add a component to > the page, so I just need correct url put in src attribute and my problem > would be solved, but I don't know how to do that, can anybody help me? > > I have a folder with images in my project, so I need to include them and > figure out which url I should write to src attribute, is this possible in > wicket? > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Showing-images-without-wicket-component-tp4675177.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Regards - Ernesto Reinaldo Barreiro
