Can anyone help me with this design


I am not able to design this template can anyone help me in this
and moreover how to group the images when there is only single image



What is the structure of your datas ?

You can use ngClass to apply diffrent style accorting to the number of images you have in an item :

If your data structur contain different types like type:“video”, type:"exercise " … And if they have all a diffrent way to be diplayed. You could use *ngIf to load the right component/template.