I am facing an issue where an image displays properly on desktop view but turns into 0x0 dimensions when viewing from a mobile device. I have been unable to determine the root cause of this problem. The website is built using Bootstrap 4 and you can observe the issue on this page:
Mobile view
https://i.sstatic.net/e79w6.png
Desktop view
https://i.sstatic.net/q9ySk.png
Code
<div class="row">
<div class="col-3 p-5">
<img src="{{ $user->profile->profileImage() }}" class="rounded-circle w-100">
</div>
<div class="col-9 pt-5">
<div class="d-flex align-items-center">
<h1 class="mr-4">{{ $user->username }}</h1>
...
</div>
...
</div>
</div>