javiereguiluz / easybook

Book publishing as easy as it should be (built with Symfony components)
https://easycorp.io/EasyBook
Other
754 stars 81 forks source link

Doesn't copy image file at ePub #128

Closed nyanlynnhtut closed 7 years ago

nyanlynnhtut commented 10 years ago

Doesn't work copy images from /Contents/images at ePub publishing with Pimple 2.0.x-dev. This process copy only \Easybook\Plugins*.php files to OEBPS/images folder.

javiereguiluz commented 10 years ago

@nyanlynnhtut if I understand you correctly, in the OEBPS/images/ directory of your .epub book there are no images but the easybook plugin classes.

Looking at the prepareBookItems() method of the .epub publisher, I don't know how this can happen. As you can see, only the files contained in the Contents/images/ directory of the book are copied, so no plugins are copied.

Could you please tell me more about your book, the contents of your images/ directory and the command that you are using to publish the book? Thanks.

nyanlynnhtut commented 10 years ago

@javiereguiluz It's happen in Version 4.8. This is my structure

-- Contents -- -- chapter1.md -- -- chapter2.md -- -- images -- -- -- pic1.jpg But these error is OK at version 5.0-DEV. :+1: