Revert it to the old version xhtml2pdf==0.2.11. The latest version of xhtml2pdf has an issue with rendering images.