View Single Post
Old 12-02-2009, 04:58 PM   #1
macr0t0r
Connoisseur
macr0t0r doesn't littermacr0t0r doesn't litter
 
macr0t0r's Avatar
 
Posts: 91
Karma: 108
Join Date: Jan 2008
Device: Palm Treo 680, Sony Reader
Including images from PML

I'm trying to convert some old eReader projects to ePub and noticed that Calibre wants images in a different folder than DropBook. According to DropBook, the images should be stored in bookname_img directory. However, Calibre expects them in a "images" directory:
Code:
    (re.compile(r'\\m="(?P<name>.+?)"'), lambda match: '<img src="images/%s" />' % image_name(match.group('name')).strip('\x00')),
Is there a reason for this discrepancy, or should I file this as a bug/feature request?

- Jim
macr0t0r is offline   Reply With Quote