Forums / Developer / Custom datatype: image

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>