This commit is contained in:
r888888888
2014-12-03 12:45:56 -08:00
parent 6c85572ae6
commit 97a71fe5a0
3 changed files with 19 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ module Iqdb
def download_and_find_similar
tempfile = Tempfile.new("iqdb-#{$PROCESS_ID}")
@download = Downloads::File.new(source, tempfile.path)
@download = Downloads::File.new(source, tempfile.path, :get_thumbnail => true)
@download.download!
if Danbooru.config.iqdb_hostname_and_port