I use this code :
Code: Select all
<div class='news-image' style="background-color: transparent;background: url([[CGSmartImage src="\uploads\images\{$field->displayvalue}" filter_croptofit="360,190,c"]]);"></div>
This is not working. The image is not shown at all.
Please help. What is wrong here.