summaryrefslogtreecommitdiff
path: root/Media.cs
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2023-08-29 13:02:41 +1000
committerJake Mannens <jake@asger.xyz>2025-08-20 00:48:44 +1000
commit49dc2dda8b6188de0a99ff5070d6280122143e70 (patch)
tree2bda1f99c18e04f4019ca8fa57bcfd3c2064c100 /Media.cs
parent277642e460e2c1cb68952de86249f1525a9c1ab0 (diff)
Added width and height properties to media objects
Diffstat (limited to 'Media.cs')
-rw-r--r--Media.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Media.cs b/Media.cs
index 47aa73b..d4f9b5b 100644
--- a/Media.cs
+++ b/Media.cs
@@ -11,6 +11,8 @@ public class Media : HBObject {
public string MimeType { get; set; }
public string? ShortDescription { get; set; }
public string? LongDescription { get; set; }
+ public int Width { get; set; }
+ public int Height { get; set; }
public virtual List<UploadedFile> UploadedFiles { get; set; } = new();
public bool IsIngest => Tags