According to documentation and other questions, it is not possible to attach an image (or other file) to a template but only to link to a resource that exist in another page.
This behaviour does not fulfill my use case where each new page created with the template needs to contain his own set of attachments.
Now, while it is not at issue (actually the desired behaviour) to attach the required files to the new page after creation from template, I would like to save the user the burden of editing the new page and inserting the images in the right location.
I would like to define in the template where which attachement shall be shown so that the user needs only to create the page with template and drag-and-drop the attachements. (Prerequisite would be, of course, that the attached files have exactly the same name as used in the template).
Is there a way to achieve this? How?