Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Automatically set image caption as image title on ImageDataObjectManager


Reply


611 Views

Avatar
purplespider

Community Member, 83 Posts

28 September 2011 at 5:37am

I have an ImageDataObjectManager that is managing some Image DataObjects, which consist of an Image and a Caption field.

Often the caption of the image is just the image's filename, which is converted quite nicely into the images's Title tag, but how can I get my caption field to automatically be set as the Image()->Title tag when adding it via the ImageDataObjectManager?