Implement image template using underscore