Gallery generation system