https://github.com/Pathologic/SimpleGallery/issues/51 https://github.com/Pathologic/SimpleGallery/issues/21