View Single Post
Old 02-18-2011, 07:50 PM   #5
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,465
Karma: 986493
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by Perkin View Post
I found out about just relative images, through testing. Just need to be sure what's possible.
The plugin looks through the text and collects all image references. Markdown reference and inline (regex might need tweaking) is supported as well as Textile.

The collected image reference are checked and if all are true will be included in the archive:
  • Path must not be empty.
  • Path must be a relative path.
  • The mimetype of the image (based on extension) must be an OEB supported image type. (JPG, PNG, SVG, GIF).
  • The image must exist relative to the TXT file's location and the location specified by the path.
user_none is offline   Reply With Quote