replace style for gallery image and tweak blog and slideshow