How can I conditionally show images on the PDF report?