diff --git a/src/components/GiftedPhotoDialog.vue b/src/components/PhotoDialog.vue similarity index 89% rename from src/components/GiftedPhotoDialog.vue rename to src/components/PhotoDialog.vue index 93c3582..dcec9c9 100644 --- a/src/components/GiftedPhotoDialog.vue +++ b/src/components/PhotoDialog.vue @@ -34,7 +34,7 @@ backgroundColor: '#f8f8f8', margin: 'auto', }" - :img="URL.createObjectURL(blob)" + :img="createBlobURL(blob)" :options="{ viewMode: 1, dragMode: 'crop', @@ -49,7 +49,7 @@
- +
@@ -60,7 +60,10 @@ Upload
-
+
-
-
- ... and those without your image see this (if you let them see your - activity): +
+
+ People without your image see this: +
+ (if you've let them see your activity)
Import - +
- +
{ + (this.$refs.photoDialog as PhotoDialog).open((imgUrl) => { this.imageUrl = imgUrl; }); }