When you are try send a photo or an image to friend using built in file transfer feature your image appears in a photo sharing box.
To avoid this from happening simply drag and drop your image to contact's name from your contact list.
Now you will be able to transfer your images the way you used to!