Make smaller images
This commit is contained in:
parent
cd6aa2ee29
commit
3e9efa7fcd
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ export default {
|
||||||
submit () {
|
submit () {
|
||||||
var component = this;
|
var component = this;
|
||||||
component.isLoading = true;
|
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;
|
component.isLoading = false;
|
||||||
console.log(response);
|
console.log(response);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue