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.

Archive /

Our old forums are still available as a read-only archive.

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

Image moderation in CMS


Go to End


1401 Views

Avatar
adesweb

Community Member, 39 Posts

8 September 2008 at 10:53pm

Hi,

I would like to extend the functionality discussed in the forms tutorial to allow for an image to be uploaded in the front-end, and then moderated in the CMS. I have done this so far, by adding an image in the has_one array of the data object.

I have managed so far to get the image to show up in the edit pop-up of the HasManyComplexTable, but in the table itslef just the id number is displayed on the image.

Has anyone successfully added an image to a data object in this way?

I will eventually be using it for the purposes of user generated recipes, but in this case, i am just trying to add an image to the registration form discussed in the tutorial.

Adrian