Custom datatype: image

Author Message

Albe Terra

Wednesday 03 September 2008 1:27:57 am

Hi!
Is there a custom datatype for images?

The standard image datatype has two attributes: the file and the alternative text.
I need also to have a caption.

Is there something already done? Or is there the possibility to modifiy the image datatype?

Thanks, Albe :)

Pascal Specht

Wednesday 03 September 2008 4:34:00 am

Hi Albe,

the easiest would probably be to add attributes to the existing Image class. Easy to do when using the administration interface, just browse to /ezwebin_site_admin/class/classlist/3 or use Administration->Classes and select the Image clas, which is in Media.

Hope this helps,

</Pascal>

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