CodePlexProject Hosting for Open Source Software
An unexpected error has occured.
There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Voted
No files are attached
turnera61 wrote Apr 17, 2012 at 3:59 AM
w1ld wrote Jun 8, 2012 at 12:13 PM
anoordende wrote Oct 25, 2012 at 1:54 PM
if (!MediaService.GetMediaFolders(string.Empty).Any(o => o.Name == ImageGalleriesMediaFolder)) { MediaService.CreateFolder(string.Empty, ImageGalleriesMediaFolder);}
public void AddImage(string imageGalleryName, HttpPostedFileBase imageFile) { AddImage(imageGalleryName, Path.GetFileName(imageFile.FileName), imageFile.InputStream); }
Sign in to add a comment or to set email notifications
Keyboard shortcuts are available for this page.