diff --git a/resources/assets/js/components/ComposeModal.vue b/resources/assets/js/components/ComposeModal.vue index 8ebfb93a7..3da28c602 100644 --- a/resources/assets/js/components/ComposeModal.vue +++ b/resources/assets/js/components/ComposeModal.vue @@ -2,233 +2,243 @@
-
-
-
- - - {{pageTitle}} - - - - +
+
+
+ +

Uploading ... ({{uploadProgress}}%)

+
+
+
+
+
+
+
+ + + {{pageTitle}} + + + + + + {{pageTitle}} - {{pageTitle}} - +
+
+ + +
+ Loading... +
+
+ Next + Post +
-
- - -
- Loading... +
+
+
+

+ Compose Post +

+
+

+ +

+

+ +

+ +

+ Need Help? +

+

Formats: {{acceptedFormats()}} up to {{maxSize()}}

+

Albums can contain up to {{config.uploader.album_limit}} photos or videos

+
+
+ +
+
+ + +
+
+ +
+
+
- - Next - Post -
-
-
-
-
-

- Compose Post -


-

- -

-

- -

- -

- Need Help? -

-

Formats: {{acceptedFormats()}} up to {{maxSize()}}

-

Albums can contain up to {{config.uploader.album_limit}} photos or videos

+
+ +
-
-
-
- +
+
+ +
+
+ + +
+
+
+
+
+

Tag people

+
+
+

Add location

+

+ Location: {{place.name}}, {{place.country}} + + Change + Remove + +

+
+
+

+ Visibility: {{visibilityTag}} + + Change + +

+
+
+

Advanced settings

+
+
+ +
+

This feature is not available yet.

+
+ +
+

Add Location

+ - +
-
-
-
- -
-
-
- -
-
- -
-
- -
-

Tag people

-
-
-

Add location

-

- Location: {{place.name}}, {{place.country}} - - Change - Remove - -

-
-
-

- Visibility: {{visibilityTag}} - - Change - -

-
-
-

Advanced settings

-
-
-
-

This feature is not available yet.

-
- -
-

Add Location

- - -
- -
-
-
-
-
Turn off commenting
-

Disables comments for this post, you can change this later.

-
-
-
- - -
-
+
+
+
Public
+
Unlisted
+
Followers Only
-
-
-
Contains NSFW Media
-
-
-
- - -
-
+
+ +
+

This feature is not available yet.

+
+ +
+

This feature is not available yet.

+
+ +
+

This feature is not available yet.

+
+ +
+

This feature is not available yet.

+
+ +
+

This feature is not available yet.

+
+ +
+ + + - -
-
-
Public
-
Unlisted
-
Followers Only
-
-
- -
-

This feature is not available yet.

-
- -
-

This feature is not available yet.

-
- -
-

This feature is not available yet.

-
- -
-

This feature is not available yet.

-
- -
-

This feature is not available yet.

-
- -
- - - @@ -647,7 +657,13 @@ export default { case 2: this.pageLoading = true; let self = this; - this.$refs.cropper.getCroppedCanvas().toBlob(function(blob) { + this.$refs.cropper.getCroppedCanvas({ + maxWidth: 4096, + maxHeight: 4096, + fillColor: '#fff', + imageSmoothingEnabled: false, + imageSmoothingQuality: 'high', + }).toBlob(function(blob) { let data = new FormData(); data.append('file', blob); let url = '/api/local/compose/media/update/' + self.ids[self.carouselCursor];