title: How virtuemart detects images belonging to a product
body: <p>I have added some images to the product card. After that only the table #__virtuemart_medias was changed. So I presume that there has been added all information needed to bind the product and its images. Right? However I can't see it because there are not any fields like "product_id" or something like this. I see only field 'vendor_id' and:</p>
  
  <pre><code>virtuemart_media_id (AUTO_INCREMENT)
  file_title
  file_description
  file_meta
  file_mimetype
  file_type
  file_url
  file_url_thumb
  file_is_product_image
  file_is_downloadable
  file_is_forSale
  file_params
  shared
  published
  created_on
  created_by
  modified_on
  modified_by
  locked_on
  locked_by
  </code></pre>
  
  <p>It doesn't make sence for me. Has anybody any ideas?</p>