LibrariesManager librariesManager = LibrariesManager.GetManager();
var listOfImages = librariesManager.GetImages().Where(i => i.Status == ContentLifecycleStatus.Live && i.Visible ==
var imageBinaryStream = librariesManager.Download(image);
You want to find images which have a record in the database, but for some reason don't have the physical file (broken reference)?
If yes, you can use this snippet of code:
//Do something with this image
Of you want to check if this picture stored in file system or somewhere else (DB, Azure, etc)?
Hi David, sorry for the long answer. Somehow I missed your question. Image object has property BlobStorageProvider, you just need to check this property. If it is "FileSystem", then this image stored in the file system
var librariesManager = LibrariesManager.GetManager();
// do something
If you have picked the file system provider then yes they are on the filesystem under App_Data\Storage\Filesystem (or something to that effect, might be App_Data\Sitefinity\Storage\Filesystem)
Not sure what the question is though?