Modify the view.jsp file, add something like:
<img width='32' height='32' src='<%=request.getContextPath()%>/images/myimage.jpg' style='cursor: crosshair;' onclick='javascript:myAction();'>
________________________________________
From: Robert Walthall [
robert.walthall@...]
Sent: Tuesday, November 03, 2009 2:44 AM
To:
jetspeed-dev@...
Subject: How to display image in portlet?
Hi All, I need to learn how to add an image to a page. I created a Welcome
page, added the Welcome to Jetspeed portlet, found the welcome.html file,
and I can edit the file and change the text that is displayed on the page.
However, when I try to add an image (using standard html tags) <img
src="image.jpg">, I get no joy.
Any tips would be much appreciated.
Thanks,
Robert
---------------------------------------------------------------------
To unsubscribe, e-mail:
jetspeed-dev-unsubscribe@...
For additional commands, e-mail:
jetspeed-dev-help@...