styling for thumbnail images on gallery posts