title: How to get thumbnail image in magento 2
body: <p>I have use this code in magento 2</p>
  
  <pre><code>$media_url = $storeObj-&gt;getStore()-&gt;getBaseUrl(\Magento\Framework\UrlInterface::URL_TYPE_MEDIA);
  $baseimage          = $media_url.'catalog/product' . $_product-&gt;getImage();  
  
  Output: http://localhost/smithbuy/pub/media/catalog/product/w/d/wd7500aaks.jpg
  
  But, I want 
  http://localhost/smithbuy/pub/media/catalog/product/cache/1/image/700x700/e9c3970ab036de70892d86c6d221abfe/w/d/wd7500aaks.jpg
  </code></pre>
  
  <p>Please help me.</p>