Backend rest for SweetGallery