Friday 29 June 2012 3:46:48 am - 2 replies
I'm trying to get the directory path of one of my images with the ezimagealiashandler but unfortunately I can't get it to work. I've tried lots of variotions of the attribute dirpath but no one returns the directory of the image.
Can anyone help me please?
Friday 29 June 2012 9:10:45 am
Dir path for attribute image is like:
More info you will find here: http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Objects/ezimagealiashandler
For images stored in design folder more details you'll find in eZURLOperator::eZImage static class, which is used to get the image path (for ezimage operator):
... $bases = eZTemplateDesignResource::allDesignBases(); $triedFiles = array(); $fileInfo = eZTemplateDesignResource::fileMatch( $bases, 'images', $operatorValue, $triedFiles ); ...
You must be logged in to post messages in this topic!