You have to save the image in either .png, .jpg, or .gif format.
.xcf files are GIMP exclusive (I don't think even photoshop can use them, although GIMP can use photoshop files). Not only will a website not know what to do with it, but the filesize would be much larger as a .xcf when compared...