added minimagick image upload
added image upload to posts