Add red border when a template is select in page form.
Resize images.