Fix all pages and implement blueimp gallery
Config fix