If you want the image name as a parameter Link getImage(String imageName) { return resources.createEventLink("Image", imageName); }
private StreamResponse onImage(String imageName) { return new ImageResponse(imageName); } If you want to cache the image, you will need to set the appropriate response headers in ImageResponse.prepareResponse(Response) -- View this message in context: http://tapestry.1045711.n5.nabble.com/StreamResponse-for-small-cacheable-images-tp5715755p5715766.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org