Add LocalGallery handling