aboutsummaryrefslogtreecommitdiff
path: root/src/client/apis/google_docs/GooglePhotosClientUtils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/apis/google_docs/GooglePhotosClientUtils.ts')
-rw-r--r--src/client/apis/google_docs/GooglePhotosClientUtils.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/apis/google_docs/GooglePhotosClientUtils.ts b/src/client/apis/google_docs/GooglePhotosClientUtils.ts
index 0864ebdb1..b95cc98c9 100644
--- a/src/client/apis/google_docs/GooglePhotosClientUtils.ts
+++ b/src/client/apis/google_docs/GooglePhotosClientUtils.ts
@@ -39,6 +39,8 @@ export namespace GooglePhotosClientUtils {
}
const image = document.createElement("img");
image.src = field.url.href;
+ image.width = 200;
+ image.height = 200;
const canvas = document.createElement("canvas");
canvas.width = image.width;
canvas.height = image.height;