title: Odoo 10 - Understanding retrieve image
body: <p>As side question from solved question <a href="https://stackoverflow.com/questions/45626671/odoo-10-show-image-of-a-given-product-template/45627831#45627831">Odoo 10 - Show image of a given product template</a></p>
  
  <p>Which are the differences between returning this one:</p>
  
  <pre><code>   product_image = self.browse(product_id).image
     image = product_image and product_image.decode('base64') or None
     return tools.image_resize_image_big(image.encode('base64'))
  </code></pre>
  
  <p>and this:</p>
  
  <pre><code>   product_image = self.browse(product_id).image
     return product_image
  </code></pre>
  
  <p>where in both cases <em>self</em> is an instance of <em>product.template</em></p>
  
  <p>Image is going to be used-displayed in:</p>
  
  <pre><code>   &lt;field widget="image" class="oe_avatar"/&gt;
  </code></pre>