Skip to content

Commit

Permalink
Merge pull request #512 from c2corg/default-image-quality
Browse files Browse the repository at this point in the history
Set quality to medium on image creation #510
  • Loading branch information
cbeauchesne authored Apr 9, 2019
2 parents 46c56b4 + 1b213d4 commit 6f28614
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/images-uploader/ImagesUploader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@
image.document.file_size = file.size;
image.document.image_type = this.imageType;
image.document.image_categories = [];
image.document.quality = 'medium';
image.document.associations[associationsArrayName] = [
{ document_id: this.parentDocument.document_id }
];
Expand Down

0 comments on commit 6f28614

Please sign in to comment.