[SOLVED] Can't find the right Image tag template?

Author Message

Nathan Kelly

Thursday 08 September 2005 11:23:39 pm

Hi.

I'm using the attribute_view_gui comand to output an image as follows:-

{attribute_view_gui attribute=$node.object.data_map.image.content.data_map.image}

Which outputs this:-

<img src="path to image/image name" width="120" height="90"  style="border: 0px;" alt="" title="" />

But I don't want the width and height attributes specified as I'm using XHTML strict per client request (and they insist on validation).

Can anyone tell me where to find the template that outputs this image tag, I've looked everywhere but I can't find it.

Any help appreciated...

Cheers!

Pardon me while I burst into flames...

Kristof Coomans

Thursday 08 September 2005 11:43:01 pm

The view template for the datatype ezimage is located at design/standard/templates/content/datatype/view/ezimage.tpl

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Nathan Kelly

Friday 09 September 2005 4:54:52 pm

Doh... Of course it is! Thanks Kristof I did'nt think to look in datatypes.

Cheers!

Pardon me while I burst into flames...

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