Preparations for image galleries