[CompStrm Wiki] support for images in AgileWiki3
Status: Beta
Brought to you by:
blaforge
From: Bill la F. <laf...@ya...> - 2006-05-05 05:30:50
|
I'm thinking that the best way to support images is with an image library, and that we should use file urls to identify images. Lets say we have all our graphics in a images directory and reference it in all our internal html code as a relative file url like "file:images/cabinet.gif". Now (I think) we can use regular html tools for creating html files, you just put the images directory in the same directory where you are working. AwServlet would, when it encounters such a URL transform it to reference a copy in its war file. You might then think that we don't need to make any changes to AwSwingClient, but if we want to use web start, the files need to be in a jar file. So AwSwingClient will also need to transform these file image urls as it encounters them. The advantages here are ease of implementation and speed of access by AwServletClient. The disadvantage is that we'll need to keep all the images under svn--users will not be able to add their own images, though they can still add html content which references images located elsewhere on the web. Eventually it would of course be nice to serve up images from the Ark. But I'd rather take things one step at a time. Bills __________________________________________________________ Yahoo! India Answers: Share what you know. Learn something new. http://in.answers.yahoo.com |