Remove standard port numbers from image URL