Forums / Developer / Custom datatype: image

"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".

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>