Blob.toPDF() not showing Images in Salesforce

Blob.toPDF() not showing Images in Salesforce

If Blob.toPDF() is not showing Images in Salesforce, check the following:

1. Check whether the image size is less than 20kb or 15kb.

2. Use system.debug() to print the PDF content before Blob.toPDF() and try to render it as HTML file.

3. Check whether the Image URL is a valid URL.

Leave a Reply