set graph content_type to image/png