Tuesday 05 February 2008 6:53:06 am
Hi, using ezwebin with eZ publish 4.0 , I had to modifiy the pagelayout template to have the dimensions of my new logo accepted. In line 174, remove the "[original]" attributes for widht and height ; which means use :
<a href={"/"|ezurl} title="{ezini('SiteSettings','SiteName')}"><img src={$pagedesign.data_map.image.content[original].full_path|ezroot} alt="{$pagedesign.data_map.image.content[original].text}" width="{$pagedesign.data_map.image.content.width}" height="{$pagedesign.data_map.image.content.height}" /></a>
instead of
<a href={"/"|ezurl} title="{ezini('SiteSettings','SiteName')}"><img src={$pagedesign.data_map.image.content[original].full_path|ezroot} alt="{$pagedesign.data_map.image.content[original].text}" width="{$pagedesign.data_map.image.content[original].width}" height="{$pagedesign.data_map.image.content[original].height}" /></a>
And don't forget to empty cache... Cheers :-) MikRob
|