Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Assuming you are using a browser (other clients support this too)... For now, can't you just encode the image in your json using base 64 and use the 'data' uri scheme to decode it? Sure the encoded data can't be more than 32k in most browsers, but that is huge avatar.


IE8 has the 32k limitation. I don't think anything else does.


Doh, you are correct. I had that piece of info reversed. Thanks for clarifying.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: