When using Ionic 2, the 'ion-slide' element does not render avatar and thumbnail images in the expected sizes, instead displaying them in larger sizes.
Here is the code snippet:
<ion-slides>
<ion-slide>
<ion-item class="item item-trns item-stable">
<ion-avatar item-left>
<img src="http://placehold.it/300x300" class="avatarImage"/>
</ion-avatar>
<ion-avatar item-right>
<img src="http://placehold.it/300x300" class="avatarImage"/>
</ion-avatar>
</ion-item>
</ion-slide>
</ion-slides>
SCSS:
.avatarImage {
width: auto;
height: auto;
}
Is it not possible to use avatars inside ion-slide in Ionic 2?