template->image -- Add an image to a template
int template->image ( int template, float left, float bottom, float width, float height, int image[, array parameters] )
This method is used to add an embedded image to a template.
template must be a valid template ID.
bottom and left
define the location of the image on the template.
width and height specify the
resultant size the image will be when placed.
The image is scaled to fit this area.
Note that if the proportions of the image do not match
the proportions of the defined space, the image will appear stretched.
image is the image ID of an image embedded (i.e. such as from jfif_embed()).
parameters is an array as described in the parameters documentation.
If omitted, default values are used.
This function was added in version 2.2.