Make smaller images

This commit is contained in:
Kristian Polso 2018-06-08 13:46:39 +03:00
parent cd6aa2ee29
commit 3e9efa7fcd

View file

@ -169,7 +169,7 @@ export default {
submit () {
var component = this;
component.isLoading = true;
component.$http.post('https://lbry.tech/upload-image', document.getElementById('meme-canvas').toDataURL('image/png')).then(function(response) {
component.$http.post('https://lbry.tech/upload-image', document.getElementById('meme-canvas').toDataURL('image/jpeg', 0.6)).then(function(response) {
component.isLoading = false;
console.log(response);
});