I have a div with a list of divs inside which carry images and videos. I need them to be all the same size (a square with the same size would be good). Cause now it's all misaligned
That's what I have tried till now:
<div class="row text-center text-lg-left">
<div th:each="inst, iStat : ${instances}" class="col-lg-3 col-md-4 col-6"
th:if="${inst.fileStatus} eq ${T(br.com.macrosul.stetho.entity.FileStatus).UPLOADED}">
<a href="#" class="d-block mb-4 h-100">
<img class="img-fluid img-thumbnail" data-target="#showMedia" data-toggle="modal" th:data-slide-to="${iStat.index}"
style="width: 100%;" th:src="@{'/instances/' + ${inst.id} + '/thumbnail' + ${folder != null ? '?folder=' + folder.id : ''}}" alt="">
</a>
</div>
</div>
This space will support probably 5 images and that's how it looks like currently:
The middle one is a video.
I also would need something to distinguish between video and photos, how could I indicate it's a video? Is that possible to attach a "play button" in front of it?