adding image_layout_id to templates