Renamed sendData image to sendimage to avoid conflicts.