"New post": added image size and image count checks on client and server side.