This project is read-only.

Suggestion for implimenting image upload functionality in my module

Topics: Core, Customizing Orchard, Writing modules
Jan 16, 2014 at 10:06 AM
I am building a slider based on nivo slider jquery plugin. For this i have created an admin controller whose job is to create sliders and add items to it. Now i don't want to provide an image upload functionality on my action views as i wish to use the existing media module from orchard as it already provides the functionality of storing title, summary and thumbnails already. i know there is a field part which you can add to contentpart (if i am not wrong) but i dont know whether i can use a field part directly inside my own controller and use it in my view. So is it possible to use the fieldpart inside a controller or should i copy some of the functionality of orchard media module inside my own module or is there some other better way to achieve what i mentioned??