Forums / Developer / Object(ezimagealiashandler)|attribute(show) crashes

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Object(ezimagealiashandler)|attribute(show) crashes

Author Message

Nabil Alimi

Tuesday 22 November 2005 7:29:51 am

Here's the result when trying to use attribute(show) on an image datatype. {$node.object.data_map.image.content}

Fatal error: Call to undefined function: storedata() in /var/www/ez_site_type/kernel/classes/datatypes/ezimage/ezimagealiashandler.php on line 1234

That occured when I tried to retrieve my image dirpath.

I'm using Exponential 3.6.2

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

Łukasz Serwatka

Thursday 24 November 2005 1:22:57 am

Hi Nabil,

Use $node.data_map.image.content instead of $node.object.data_map.image.content.

{$node.data_map.image.content[original].url|ezroot}

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog