Added 'take picture' functionality for posts