Hi,
I'm just wondering how to achieve this..
I have a line of code like this inside a cloneable template:
I wan't to add a possibility to upload an image as the background-image of the link. I've already added the possibility to upload the image but I can't figure out how to get the url of the selected image so that I could do like this:
Any help is appreciated. I tried googling a bit for this but couldn't find anything relevant enough.
I'm just wondering how to achieve this..
I have a line of code like this inside a cloneable template:
- Code: Select all
<a href="<cms:show portfolio_address />" class="featured-box pop-out" style="background-image: url(http://lorempixel.com/350/222/);"></a>
I wan't to add a possibility to upload an image as the background-image of the link. I've already added the possibility to upload the image but I can't figure out how to get the url of the selected image so that I could do like this:
- Code: Select all
<a href="<cms:show portfolio_address />" class="featured-box pop-out" style="background-image: url(<cms:show image_url />"></a>
Any help is appreciated. I tried googling a bit for this but couldn't find anything relevant enough.