Added image size checking template