Share » Forums » Setup & design » Cannot display path of image

Cannot display path of image

Cannot display path of image

Tuesday 07 September 2004 4:16:57 am - 4 replies

Author Message

willy jansen

Thursday 09 September 2004 1:25:30 am

bumped it up.

I'd like to know how to fetch the image (or the images url) without using attribute_view_gui

Ole Morten Halvorsen

Thursday 09 September 2004 6:37:06 am

Hi,

To get the full url use:

{$Child:item.object.data_map.image.content.medium.url|ezroot}

For more information do:

{$Child:item.object.data_map.image.content|attribute(show)}

This will print out debug information about the image attribute.

Ole M.

Senior Software Engineer - Vision with Technology

http://www.visionwt.com
http://www.omh.cc
http://www.twitter.com/omh

eZ Certified Developer
http://ez.no/certification/verify/358441
http://ez.no/certification/verify/272578

willy jansen

Thursday 09 September 2004 7:19:52 am

Thanks Ole , but {$Child:item.object.data_map.image.content.medium.url|ezroot} returns an empty string ""

What may be the trouble here?

The debug info says:
Missing argument 4 for checkaccess() in /home/httpd/vhosts/MYSTE/httpdocs/kernel/classes/ezcontentobjecttreenode.php on line 2576

willy jansen

Thursday 09 September 2004 11:36:19 am

It seems the problem has to do with my configuration.

I'm looking for someone who can help me solving this problem.

If you are interested: my email is: batigolix@yahoo.co.uk

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu