Added entity function to add images to the entity.