background-image-formatter-inline.tpl.php in Simple Background image formatter 7
Default template implementation to display the background inline field.
Available variables:
- $background_image_selector: (String) The css selector.
- $image_url: (String) The absolute url to the image.
1 theme call to background-image-formatter-inline.tpl.php
File
templates/background-image-formatter-inline.tpl.phpView source
<?php
/**
* @file
* Default template implementation to display the background inline field.
*
* Available variables:
* - $background_image_selector: (String) The css selector.
* - $image_url: (String) The absolute url to the image.
*/
?>
<div class="<?php
print $background_image_selector;
?>" style="background-image: url('<?php
print $image_url;
?>')">
</div>