Use liquid for image galleries