title: get images with wordpress get_attached_media()
body: <p>Can somebody please tell me how I can use <code>get_attached_media( 'img', postID );</code> to
  get all the attached images from the post and then display the images?</p>
  
  <p>I need the code that goes after it to get the images.</p>
  
  <p>I'm using this function directly within a page with phpexec plugin installed</p>
  
  <p>my gratitude in advance  </p>