Ezdesign and ezimage operators in php ?

Ezdesign and ezimage operators in php ?

Monday 27 October 2008 2:44:21 am - 1 reply

Modified on Wednesday 05 November 2008 4:51:51 am by H-Works Agency

Author Message

H-Works Agency

Thursday 01 July 2010 3:28:07 am

For information i think this is it :

$tpl = templateInit();

$strPath = ezUrlOperator::eZImage($tpl, 'icons/mypicture.jpg', '');

$results['img'] = 'http://' . eZSys::hostname() . $strPath;

With : 'icons/mypicture.jpg' in your design's images directory.

OR

eZURLOperator::eZDesign() if you want to search a tpl path

EZP is Great

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.