PDF File Failing - Record Template

PDF File Failing - Record Template

I'm having issues when downloading a Record Template because it has a lot of images coming from a subform. 

File fails when I resize the image field of the subform editing the HTML on the record template.

Do you know a solution to resize images without making the download file to fail? 

Thanks,

Antonio Contreras