diff --git a/cams.js b/cams.js index 64af0471b1db4c48162c8651623ab18df409842d..3cfa18cf6ddece654883669986b06798d5bed22a 100644 --- a/cams.js +++ b/cams.js @@ -8,7 +8,7 @@ // var image_width = 1600 var image_height = 1200 -var thumbnail_size = 100 +var thumbnail_size = 200 var compression = 50 var difference_threshold = .05 var millisecond_image_delay = 15000 @@ -99,7 +99,7 @@ function update() { console.log('reindex day') execSync("echo '' > index/newindex.html") execSync("echo '' > index/newindex.html") - execSync('ls images | awk \'/^'+year+'-'+month+'-'+day+'/ { print "" }\' >> index/newindex.html') + execSync('ls images | awk \'/^'+year+'-'+month+'-'+day+'/ { print "" }\' >> index/newindex.html') execSync("mv index/newindex.html index/"+month+"-"+day+".html") // // delay before next image diff --git a/display.js b/display.js index a7457ff8e15292c029a4ac8c50dd76b696de62c0..95af5750730a8b9d53b774ccb0e29e4cf3a17898 100644 --- a/display.js +++ b/display.js @@ -3,7 +3,7 @@ function display(id) { var img = document.getElementById(lastid) if (img != null) { img.src = "../thumbnails/"+id - img.style.width = "10%" + img.style.width = "20%" } var img = document.getElementById(id) img.src = "../images/"+id