Ion-list with avatar image left and toggle right


#1

Hi

Trying to create a list with an avatar (which is an image) left, some text and a toggle button right and the best I can seem to achieve is the full size image instead of the avatar and was hoping someone could help?

Using this works just fine

   <ion-item class="item item-avatar" ng-repeat="a in appliances" type="item-text-wrap" href="#/app/appliance/{{a.id}}">
     <img ng-src="{{a.image}}">
     <h2>{{a.name}}</h2>
     <p>{{a.status}}</p>
   </ion-item>

but as soon as I change it to a toggle (by changing ion-item to ion-toggle), the toggle button is there but the image is displayed full size

Please help and thanks

Andrew