Handle blank image_urls in PDF generation.