diff --git a/defaults.ini b/defaults.ini index 1a35af7..5b623f9 100644 --- a/defaults.ini +++ b/defaults.ini @@ -231,13 +231,6 @@ output_css: .u {text-decoration: underline;} .bold {font-weight: bold;} -## include images from img tags in the body of stories. Doesn't -## currently include images from the descriptions of stories -include_images: false -## Resize images down to width, height, preserving aspect ratio. -image_max_size: 800, 600 -grayscale_images: false - [mobi] ## mobi TOC cannot be turned off right now. #include_tocpage: true diff --git a/fanficdownloader/story.py b/fanficdownloader/story.py index 9384a42..a409575 100644 --- a/fanficdownloader/story.py +++ b/fanficdownloader/story.py @@ -208,7 +208,7 @@ class Story: data = convert_image(fetch(imgurl), sizes, configurable.getConfig('grayscale_images')) - print("\nimgurl\nimage size:%d\n"%len(data)) + #print("\nimgurl\nimage size:%d\n"%len(data)) self.imgurldata.append((newsrc,data)) # else: # newsrc = "images/%s.jpg"%( diff --git a/plugin-defaults.ini b/plugin-defaults.ini index 8d216db..c73ac4f 100644 --- a/plugin-defaults.ini +++ b/plugin-defaults.ini @@ -213,13 +213,22 @@ output_css: .u {text-decoration: underline;} .bold {font-weight: bold;} -## include images from img tags in the body of stories. Doesn't -## currently include images from the descriptions of stories -include_images: false +## include images from img tags in the body and summary of +## stories +#include_images:false + ## Resize images down to width, height, preserving aspect ratio. -image_max_size: 600, 800 -grayscale_images: false -keep_summary_html: false +## Nook size, with margin. +#image_max_size: 580, 725 + +## Change image to grayscale, if graphics library allows, to save +## space. +#grayscale_images: false + +## If not set, the summary will have all html stripped for safety. +## Both this and include_images must be true to get images in the +## summary. +#keep_summary_html:false [mobi] ## mobi TOC cannot be turned off right now.