Code so far for avatars and images with posts