Image upload is working nicely, and Html::image() returns an img tag with a src URL like this:
[url=http://localhost/index.php/www/files/foo.jpg]http://localhost/index.php/www/files/foo.jpg[/url]
The path is correct, but, the problem is this is routed through index.php which doesn't know anything about a "www" controller, and I get a broken image.
What is the preferred approach:
a) Add controllers to handle images and uploaded files
b) Mess with .htaccess to prevent routing to index.php
c) Do something with routing?
I am hoping there would be an easy solution for this common use-case in the framework itself, but any of the above are easy enough to do. Just wanted guidance on the best way.
Thanks...