diff options
author | Sam Wilkins <samwilkins333@gmail.com> | 2019-09-03 19:29:49 -0400 |
---|---|---|
committer | Sam Wilkins <samwilkins333@gmail.com> | 2019-09-03 19:29:49 -0400 |
commit | 0404047f5e747608b33474fa1c883a489cd6b403 (patch) | |
tree | 0cb9ab06b539824ce2ec027cca85c7ae5f935b9e /src/client/apis/google_docs/GooglePhotosClientUtils.ts | |
parent | 20e098859b13f37b0baf232682b032b98b85b6ea (diff) |
fixed data url
Diffstat (limited to 'src/client/apis/google_docs/GooglePhotosClientUtils.ts')
-rw-r--r-- | src/client/apis/google_docs/GooglePhotosClientUtils.ts | 2 |
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; |