Tuesday 04 November 2003 3:52:02 am
HI Think I have solved it.. Orginal message follows, then my solution.
Hehe sorry for bringing life to such an old thread. But.. I am currently having the same problem.. My problem is that by using (note ingress is an picture and an image class): {attribute_view_gui attribute=$node.data_map.ingress image_class=ingress} I do not have controll ower the whitespaces between <div class="image"><img src></div>. As such I have to instead use the following : <img src={$node.data_map.ingress.content[original].full_path|ezroot}> However, I would really like to use attribute_view_gui for design reasons.. Is that possible ? Have anyone had the same problems as I am having? Any solutions to spare?
Cheers Tore
My ad hoc solution: Edit "/design/standard/templates/content/datatype/view/ezimage.tpl", or override of course :). In the end of the file put the "{/let}{/default}{/section}" all in one line following closing tag of <img src..>. Or as below here: <img src={$image.full_path|ezroot} width="{$image.width}" height="{$image.height}" {section show=$hspace}hspace="{$hspace}"{/section} {section show=$alignment}align="{$alignment}"{/section} border="{$border_size}" alt="{$image_content.alternative_text|wash(xhtml)}" />{/let}{/default}{/section} Hmm I find myself spending most of my time learning about variations in how the various browsers threat HTML, and not acutally designing an new site.. Ouchhhhh. As such I am gonna use my development plan as a napkin at my next stop at McDonalds. Cheers
|