Post pictures upload fixed

Fixed bug when saving post without images selected 
user avatar upload still TODO...