add all imgs to template and code