Added a $post arg to getPostImages