Issue don't call drawImage if not background image is defined
@@ -256,6 +256,7 @@ class PmlPageTemplate(PageTemplate):
self.pisaBackgroundList.append(pisaBackground)
+ if self.img:
if self.isPortrait():
canvas.drawImage(self.img, 0, self.ph - self.h, self.w, self.h)
elif self.isLandscape():
