However, if I have more than one image in a page, I get the second page truncated at the bottom of page overriding the page footer. You can see an example in the attached file. Any idea how to avoid that?
I've got a fix currently being tested for a bug similar to what you report above, where the images are items in a flex column container. Is that the layout you're using? If you'd like to send some sample code I'll be happy to test the fix on that, too.
We have uploaded a new latest build containing the aforementioned fix, but unfortunately it doesn't seem to fix your issue (tested with bootstrap v4.3.1). I will continue looking into it - thanks for letting us know about the problem!
UPDATE: the problem we have is with the "row" class, which is a multi-line flex container (i.e., it has flex-wrap: wrap). We aren't able to fragment these kind of flex containers with our current implementation, sorry.
OK. I try to be constructive. Since I have a CSS for printing and one for the screen, I could override the row class in print.css but I would need your indication regarding how we could modify it to still get an acceptable layout and avoid the problem with the current implementation of Prince. Any suggestions? Selector row is defined as:
OK, I solved the problem by overriding bootstrap.css as follows. I publish here the code just in case maybe useful for someone else but I DO NOT TAKE ANY RESPONSIBILITY for its usage.
I tested it in Prince and the image does not go below the bottom side, but it does go behind the right one. It looks like the 100% width is calculated wrong... Any idea? I attached also the same image as seen on screen. Please, note that the width of image is the same of text.