how can i get the base url of common folder in advanced template

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:\common\image\cache\product-id-200_200.jpg

how to implement it?

Create your url as follows:


And then use $url wherever you want!!