title: Magento: How to get thumbnail?
body: <p>I downloaded a script to create a CSV datafeed of my products and I would also like to include a url to the thumbnail. The code already has the following for the product image url:</p>
  
  <p><code>$product_data['ImageURL']=Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA).'catalog/product'.$product-&gt;getImage();</code></p>
  
  <p>So I tried to adjust this to:</p>
  
  <p><code>$product_data['ThumbnailURL']=Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA).'catalog/product'.$product-&gt;getThumbnail();</code></p>
  
  <p>Which displays exactly the same image url (not the thumb). How would I fix this?</p>
  
  <p>I did a <code>var_dump($product);</code> and the result was:</p>
  
  <p><code>["image"]=&gt; string(18) "/f/i/file_2_18.png" ["small_image"]=&gt; string(18) "/f/i/file_2_18.png" ["thumbnail"]=&gt; string(18) "/f/i/file_2_18.png"</code> </p>
  
  <p>I also need to get the subcategory for the product but I don't know how to call this. How can I see which variables are possible? E.g. <code>$product-&gt;getPrice</code> or <code>$product-&gt;getName</code>?</p>