logo size with ezwebin

logo size with ezwebin

Sunday 18 March 2007 9:10:51 am - 2 replies

Author Message

Michael Kress

Sunday 18 March 2007 9:22:17 am

wooops, sorry for not finding this earlier ...

<b>image.ini.append.php:</b>

[logo]
Reference=
Filters[]
Filters[]=geometry/scaleheight=36

I set this to 63 and it worked.

Regards,
Michael

Mickael Robin

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

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.