I've been struggling to create an ion-card
with two images: a main picture and a small book cover. Any ideas on how to achieve this?
Note: The layout should have 2 images, one at the top and another as a small book cover.
Check out this sample on StackBlitz
This is what I want to achieve:
https://i.sstatic.net/Ei78A.png
.html
<ion-card class="card-margin">
<img class="contentPicture" [src]="data?.image" />
<ion-card-content>
<ion-item class="book-cover">
<ion-thumbnail item-left class="thumbnail">
<img [src]="data?.image2">
</ion-thumbnail>
</ion-item>
<ion-item class="book-details">
<h2>From book:
<span>My book</span>
</h2>
<h2>Publisher:
<span>My publisher</span>
</h2>
</ion-item>
</ion-card-content>
</ion-card>