image uploading to canvas with base64 conversion with basic styling