Testing image upload
Moved image upload to static function in Post model