changed thumb send method to send_data with thumb converted to blob