change image to png format for display on browsers