Add template class image