center img (png) version of diagram