Module Builder: Programmatically upload and associate image file
Hi,
I've created a custom module using Module Builder. This custom module includes a field for uploading an image. I have created a custom ascx user control that will save items to the new custom module, except for the uploaded image. Is there any documentation related to saving images using the custom module builder types via custom code? I did find documentation on creating images in the library but there is no reference on how to associate the uploaded image with a content item.
thanks
Sitefinity version 6.0
Hello,
You have the ability to add a custom field for your custom module of type Media (images, videos, files).
http://screencast.com/t/CtpFIpJ2
Then choose what kind of media this field will manage and save the changes. If you have a pop up which asks you
Are you sure you want to save the changes to this content type?