image url

Author Message

Hannes Schantl

Monday 10 September 2007 1:22:41 am

I want to provide a popup functionality for images, in the full view of images.
Therefore I need the url of an image which is stored in the content tree.
Does anybody know how to do this?

Nabil Alimi

Monday 10 September 2007 1:39:41 am

Hi Hannes,

Could this suits your needs : http://ez.no/community/contribs/applications/ezlightbox ?

However, you can access an image url like this.
Provided you have an image datatype.

$attribute.content.IMAGE_VARIATION.full_path

Where :
$attribute is your image attribute. So you'll probably need to replace $attribute by something like <b>$node.data_map.image</b>
IMAGE_VARIATION = an image size defined in your image.ini settings or "original" which is the unresized format of your image.

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Hannes Schantl

Monday 10 September 2007 1:41:23 am

thanks for quick answer :)

mfg hannes

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