Revision: 33077
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 5, 2010 23:56 by gerhardsletten
Initial Code
{foreach $images as $image} <div style="height:{$image.data_map.image.content['original'].height}px;width:{$image.data_map.image.content['original'].width}px;background: url(http://{ezini( 'section', 'SiteURL', 'site.ini' )}{$image.data_map.image.content['original'].url|ezroot(no)}) no-repeat;">{$image.name|wash}</div> {/foreach}
Initial URL
Initial Description
If you need to display content images as background on a element. You need to set height, width and background for the element
Initial Title
Content images as CSS background in Ez publish
Initial Tags
css
Initial Language
eZ Publish