https://github.com/Pathologic/SimpleGallery/issues/45 https://github.com/Pathologic/SimpleGallery/issues/35