webpage image gallery bugfixes