The creative team wants to be able to use Zotonic to manage images used outside of the main website. In order to do this they are currently linking to images as follows:
<img src="http://example.com/media/inline/2010/10/29/image.jpg" />
This has a huge flaw. Every time an one of these images is replaced in Zotonic the filename can change. If the replacement happens on a different day the path to the file changes. This means that they have to replace the image in Zotonic and then update the HTML on the other sites as well.
Imagine that the Media item in question has ID 575. I would like to let them link to images as follows:
<img src="http://example.com/media/575" />
How do you link to a media item by ID outside Zotonic?