a fix for removing original images
This commit is contained in:
parent
93a769ed78
commit
fd85e6765c
@ -35,7 +35,7 @@ namespace RMuseum.Services.Implementation
|
||||
var srcPath = Configuration.GetSection("PictureFileService")["StoragePath"];
|
||||
var trashPath = Configuration.GetSection("PictureFileService")["TrashStoragePath"];
|
||||
|
||||
var images = await context.PictureFiles.Where(p => p.StoredFileName != null && p.SrcUrl != null).ToListAsync();
|
||||
var images = await context.PictureFiles.Where(p => p.StoredFileName != null && p.SrcUrl != null && p.NormalSizeImageStoredFileName.IndexOf("orig") != 0 ).ToListAsync();
|
||||
|
||||
int progress = 0;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user