docs: #359 adding ExternalNormalSizeImageUrl field

This commit is contained in:
Hamid Reza Mohammadi 2023-01-06 17:04:14 +03:30
parent f2f8be65e5
commit 9c51777765

View File

@ -87,6 +87,13 @@ namespace RMuseum.Models.Artifact
/// </summary>
public DateTime LastModifiedMeta { get; set; }
/// <summary>
/// url to access this image from THE external host, contanins '/norm/' which when
/// you replace it with '/thumb/' you would have ExternalThumbnailImageUrl
/// and if you replace it with '/orig/' you would have a url for ExternalOriginalSizeImageUrl which MIGHT NOT EXIST and end in a 404 error
/// </summary>
public string ExternalNormalSizeImageUrl { get; set; }
/// <summary>
/// duplicated a picture record (Id is missing so you should store this to get a new Id)
/// </summary>
@ -121,7 +128,8 @@ namespace RMuseum.Models.Artifact
Status = src.Status,
ThumbnailImageHeight = src.ThumbnailImageHeight,
ThumbnailImageStoredFileName = src.ThumbnailImageStoredFileName,
ThumbnailImageWidth = src.ThumbnailImageWidth
ThumbnailImageWidth = src.ThumbnailImageWidth,
ExternalNormalSizeImageUrl = src.ExternalNormalSizeImageUrl,
};
}