template image - image details merge fix