Added baseUrl filter for gallery