Update post.php

Support for images.