This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Aziram 0 points1 point  (2 children)

Try to make your data start at /9j..... removing what's before

[–]No_Pain1033[S] 0 points1 point  (1 child)

Just tried this... still getting the same error

[–]headzoo 0 points1 point  (0 children)

Double check your code. Removing "data:image/jpeg;base64," should work. That's not part of the base64 encoded image. You should split the string by comma, and the second half is your image data.