Images and Documents
For custom modules when the module requires 1 to many images I usually create a image gallery using Library Manager.
LibraryManager libraryManager =
new
LibraryManager();
ILibrary library = libraryManager.GetLibrary(cat.LibraryID);
if
(library !=
null
)
library.Name = cat.Name +
" Category"
;
libraryManager.SaveLibrary(library);
else
//Looks like the library got deleted recreate it
ILibrary firstLibrary = libraryManager.CreateLibrary();
firstLibrary.Name = cat.Name +
" Category"
;
firstLibrary.TypeName =
"Image"
;
libraryManager.SaveLibrary(firstLibrary);
cat.LibraryID = firstLibrary.ID;
Hi Luke Durrant,
Thank you for the feature request.
We will log your feature request. If we plan to implement it I will follow up in this thread.
Regards,
Radoslav Georgiev
the Telerik team