mirror of
https://github.com/wassname/FanFicFare.git
synced 2026-09-10 11:40:24 +08:00
Save changes to defaults.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user