Don't know what the best way should be.
I also tried to find the one and only solution but I could't.
What I found is:
In Joomla 1.5 the media dir was created to make the system more secure.http://blog.joomlatools.eu/2008/09/hidden-feature-joomlas-media-folder.html
I think also in 1.6 it won't give a restriction to have all media files in /joomla/mediahttp://groups.google.de/group/joomla-dev-cms/browse_thread/thread/083373f7d67c35f0
I think by adding using something like the following code would give us a solution to also use the image dir during an installation:
Code: Select all
<!-- Site Main Media File Copy Section -->
<media folder="site/images" destination="com_communicator/images">
What I found out is, that we also don't do it the right way with assets in the frontend and the js etc. I understood it the way that the assets dir should be inside media/com_joomleague. Maybe I am wrong and dind't understand the english text as it was meant but I understood that this way.
All assets files used in the backend should be inside the inside the admin-com_joomleague_asstes dir to make JL backend a little bit more secure.
What we should do with at least the images called from the frontend???
Don't really know. I also changed left the media dir of Jopmmla to be images/stories as I make an update and have all media files used in old JL data and also in old articles of Joomla are inside images/stories and it's sub-dirs.
60% images dir and 40 % media dir. That is what I think at the moment. But maybe I also haven't seen the real idea which lays behind the media dir of Joomla 1.5