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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Adding an Image to FileDataObjectManager


Go to End


1129 Views

Avatar
Garrett

Community Member, 245 Posts

14 October 2009 at 4:29am

Hi,

Is there some reason that I cannot add an Image file to a FileDataObjectManager? What if I have an object that requires BOTH a file AND an image?

I have my $has_one for the image, but when I click on "Attach Image," nothing happens and the ImageID is not added to the database. Why not?

Thanks,
Garrett