PartyStream / projectPS

API for the Party Stream app
www.partystreamapp.com
1 stars 0 forks source link

Added unique hashes to pictures. #44

Closed hebime closed 11 years ago

hebime commented 11 years ago

This creates a unique hash for the picture. Now when the file gets uploaded to S3, it gets saved using the hash.

I also fixed the file extensions so that they aren't statically set to .png

I added the content type to the S3 params so that this way when a browser visits a link from S3 it actually displays the image instead of downloading it. (I think @GrahamBarnard mentioned this before)

iToto commented 11 years ago

I think your git config isn't setup properly mr ghost man lol.