Fixed image editing. Data URI with edited image now handled correctly

by server.