I think it is because GMail remembers the last folder used. So if you attached a photo last time, it thinks you want to attach a photo this time. Navigate to your Documents folder and attach the document. Next time you try to attach something it will go straight to your Documents folder.
This thread is now locked and can not be replied to.