From e1c8bb1bd5381d8ade3c699a2d6b4fb373112880 Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Sun, 25 Jun 2023 20:45:43 +0200 Subject: feat: Store image size Add image dimensions to exif fetch. --- pkg/components/media/model.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/components/media/model.go') diff --git a/pkg/components/media/model.go b/pkg/components/media/model.go index f5c9ff6..0e17e92 100644 --- a/pkg/components/media/model.go +++ b/pkg/components/media/model.go @@ -15,6 +15,8 @@ type ( } MediaEXIF struct { + Width *float64 + Height *float64 Description *string Camera *string Maker *string -- cgit v1.2.3