apply image magic aliases properties to <img> tg

Author Message

Romeo Antony

Monday 13 September 2010 3:07:09 pm

In ezpublish for nodes , we can apply changes to style and size of images using image magic

like{attribute_view_gui attribute=$node.data_map.image image_class=$image_class}

But can we apply image magic directly to img taglike this

<img src={"mage1"|ezimage }

How do appy image magic to img tag not for attribute_view_gui or node_view_gui

Anyidea wll be a help.

Romeo

Gabriel Finkelstein

Monday 13 September 2010 3:48:43 pm

Ignore this message

Matthieu Sévère

Monday 13 September 2010 11:53:58 pm

Hey Romeo,

Image magick will be used only for image that are stored into an ezimage datatype

--
eZ certified developer: http://ez.no/certification/verify/346216

Romeo Antony

Tuesday 14 September 2010 1:10:24 am

Thanks for the reply Matthieu. So If i am correct , mag resize for IMG tag is only possible only by some CSS and javasript techniques. No other way?

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