Images can be included in template files. However, if large size images such as high-quality photos are included in the template file, it may take a long time to output the file, or an output error may occur. In the case of PDF output, the layout may be corrupted. Please check the output using your template in the Sandbox environment.