Save changes to defaults.

This commit is contained in:
Jim Miller
2012-02-24 18:41:19 -06:00
parent 35bb2a49ba
commit 076744f2d4
3 changed files with 16 additions and 14 deletions
-7
View File
@@ -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
+1 -1
View File
@@ -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"%(
+15 -6
View File
@@ -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.