Skip to content
This repository was archived by the owner on Dec 12, 2018. It is now read-only.

Commit 718c6f8

Browse files
author
Frank Baele
committed
closes #9 add missing dimension update
1 parent 1545d14 commit 718c6f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gulp/content.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ module.exports = function(gulp){
2727
// paste original image on top of the canvas
2828
canvas.paste(0, 0, image, function (err, image) {
2929
// now image has a white background...
30-
var width = 145;
31-
var height = 145 * image.height() / image.width();
30+
var width = 290;
31+
var height = 290 * image.height() / image.width();
3232
image.batch()
3333
.resize(width, height)
3434
.writeFile('./img/' + name + '_small.jpg', 'jpg', {quality: 65}, function (err) {

0 commit comments

Comments
 (0)