7913 Posts in 1355 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » Automatically set image caption as image title on ImageDataObjectManager
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 357 Views |
-
Automatically set image caption as image title on ImageDataObjectManager

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?
| 357 Views | ||
|
Page:
1
|
Go to Top |
