I created a image folder in \common of advanced template. It is used to store all product image, and it can be accessed in both front end and backend.
I have to create a url for all the images, like:
wwww.xxxxx.com\common\image\cache\product-id-200_200.jpg
how to implement it?