I need some help on lightning components. I'm trying to show attachment image using lightning components but the image is not shown.
<aura:component controller="AttachmentClass">
<aura:attribute name="myObjects" type="Attachment[]"/>
<aura:attribute name="attchid" type="String" default="00P900000115nZx"/>
<aura:handler name="init" value="{!this}" action="{!c.getOpps}"/>
<aura:attribute name="prefixURL" type="String" default="/sfc/servlet.shepherd/version/download/"/>
<h2>All Record</h2>
<table border="2px" ><tbody>
<aura:iteration items="{!v.myObjects}" var="SelectOperation">
<tr>
<th>ParentId</th>
<th>BodyLength</th>
<th>Image</th>
</tr>
. <tr>
<td><option text="{!SelectOperation.ParentId}"/></td>
<td><option text="{!SelectOperation.BodyLength}"/></td>
<td><img class="mythumbnail" src="{!'/servlet/servlet.FileDownload?file='+SelectOperation.attchid}" width="100" height="100"/></td>
<td><img src="{!'/servlet/servlet.FileDownload?file=' + v.attchid}" alt=""/></td>
</tr>
</aura:iteration>
</tbody></table>
</aura:component>