Hey Kovid, I had a deeper look at the way books are stored in the database and I guess the best way of implementing the attachments is through a new table inside the database let's say attachments where each entry will link to a book_id in the books table.
This way we could properly support multiple attachments per book and multiple attachments of the same format (zip, 7z, images). It will require quite some coding to get it functional and probably some subtle UI additions in order to support this but at the same time leave the UI mostly unchanged for the users.
I made a fork of the code and I will start working on this if you think this is a good approach.
It will probably take some time as I'll be doing this only in my spare time.
|