[enh] Allow to upload with imgur or to use the base64 method

With this commit and the next, users can load small image in base64 directly or choose to load image onto imgur.