In, Ionic 2, inside ‘ion-slide’ doesn’t render avatar and thumbnail images in avatar and thumbnail sizes, instead it displays in bigger sizes.
My code:
Cannot we use avatar inside ion-slide in ionic 2?In, Ionic 2, inside ‘ion-slide’ doesn’t render avatar and thumbnail images in avatar and thumbnail sizes, instead it displays in bigger sizes.
My code:
Cannot we use avatar inside ion-slide in ionic 2?You have to load thumbnails to display them.
Ionic will not resize your pictures. But you can do it with css.
For example :
ion-slides {
img {
max-height: 100px;
max-width: 100px;
}
}