I have a card in php.
It should show the iamge from the link but it does not show.
<?php foreach($media['links'] as $link): ?>
<div class="col-md-4">
<div class="card mb-4">
<img src="<?php $link['url']; ?>" class="card-img-top" style="height: 350px;">
<div class="card-body">
<a href="dl.php?url=<?php echo base64_encode($link['url']); ?>" class="btn btn-get" download="">
<i class="fa fa-download"></i> Download
</a>
</div>
</div>
</div>
<?php endforeach; ?>
In above code, if I try to var_dump the $link['url'], I get
string(293) "https://scontent.cdninstagram.com/v/t51.2885-15/266857610_601178334547526_5472702649899260888_n.jpg?stp=dst-jpg_e35&_nc_ht=scontent.cdninstagram.com&_nc_cat=102&_nc_ohc=1W5jDUFHgdoAX-huO6a&edm=APs17CUBAAAA&ccb=7-5&oh=00_AfAmBev0MJZnoZXi5R_VPkPz31z-ZAZmHc2ec7SqlvPUJg&oe=65686AA8&_nc_sid=10d13b"
so if I take the link after the string from above and then paste it into the browser, I can see the image, but it is not showing in the card using the initial code.