Forums / Setup & design / Images inside content, xml tags, two questions.
alvaro alvaro
Tuesday 06 June 2006 12:59:44 am
1) How could i insert an image inside a content with an OWN size, not defined in the ini files, a dynamic width and height. I know xmltag embed, but it work with filters defined in ini files.
2)The xmltag embed works with references to objects, how could i insert an image from a path? like the img tag in xhtml.
Thx.
Ćukasz Serwatka
Wednesday 07 June 2006 5:09:58 am
Hi alvaro,
Ad.1
You can override the image emded template and pass parameters to it like width and height. Then you can use that values in the template and scale the original image.
Ad.2
You can define the new custom tag:http://ez.no/doc/ez_publish/technical_manual/3_6/reference/datatypes/xml_block/custom_tags
http://ez.no/products/ez_publish_cms/documentation/customization/components/datatypes/ezxmltext/custom_tags
As one of parameters pass path to the image.
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog