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

Interestingly, a few years ago I discovered that you could also change the "t"/"s"/"n" (tiny/small/normal) to a "b" (big) and access the full-resolution image which was uploaded.

They seem to have discontinued the "b" prefix shortly after I found it (perhaps to save space?). It was a bit of a privacy concern that they retained the full-resolution image, considering that most users probably do not crop their images before uploading them.



I believe that, now, they resample the images prior to upload. Perhaps to save bandwidth as well.


Client side resample ? I would love to know how they do that. With AJAX it does not seem possible.


With Javascript (AJAX) it wouldn't be, but with a little Java or Flash it is. (I'm not 100% sure on Flash, but I bet it's possible)

I think Facebook uses Java for this bit (not totally sure, and I don't want to have to log in just to check)


Facebook uses the Aurigma Image Uploader, which is implemented both in Java and as an ActiveX control.


you can't access uploaded images in flash. you have to send the full image to a server, then re-download it, do your manipulation, and then upload the final version.

particularly annoying when uploading to S3, since you have to go client->server->client->server->S3.




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

Search: