question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upload image base64

See original GitHub issue

I’m trying upload file image in base64 in filelist but does not work?

{
    uid: 3,
    name: 'zzz.png',
    status: 'done',
    url: 'data:image/jpeg;base64, LzlqLzRBQ...<!-- base64 data -->',
  }

Is this option included?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
aurigadlcommented, Mar 16, 2017

When you have a dynamic image service and do operations on them, you do not have stored on disk, they are generated, so the service returns the image in base64 format.

Cordial saludo,

Atentamente,Augusto González J.

2017-03-15 21:24 GMT-05:00 Benjy Cui notifications@github.com:

Actually, I don’t understand why you need to parse it in browser, for base64’s size is larger.

Just post normal file to server, and convert image to base64 in server if you want.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ant-design/ant-design/issues/5319#issuecomment-286939217, or mute the thread https://github.com/notifications/unsubscribe-auth/AAlPWFxSdBChVD8LN2YwwY4bpXq3whZcks5rmJ1zgaJpZM4MeNfu .

1reaction
benjycuicommented, Mar 16, 2017

Ant Design team use GitHub issues to trace bugs or discuss plans of Ant Design. So, please don’t ask usage questions here. You can try to ask questions in Stack Overflow or Segment Fault, then apply tag antd and react to your questions.

You should read documentation & FAQ and search issues before ask a question, THX!

It will be better if you read smart questions(提问的智慧).

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to upload files from your HTML form using Base64 ...
Learn how to quickly encode your file input content as Base64 Data URI and save it to your server.
Read more >
How to upload files from your HTML form using Base64 ...
In our example, we will upload the image file by encoding the image as Base64. First, let's write simple HTML and set the...
Read more >
Base64 Image Encoder
You can upload up to 20 images (max. 1.00 MB each) as JPG, PNG, GIF, WebP, SVG or BMP. Please note that Internet...
Read more >
Base64 Image Encoder - Convert any image file or URL online
With Base64 Image Encoder, you can convert any image file or URL to either Base64, HTML, CSS, JSON, or XML online. Everything happens...
Read more >
Upload base64 image with Ajax - Stack Overflow
So I'm wondering what is the proper way to send a base64 image to the server using an Ajax request WITHOUT using a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found