We help IT Professionals succeed at work.

Could you point a eay to present a photo by giving its url location by using PHP/ Laravel?

Eduardo Fuerte
on
Hi Experts

Could you point a eay to present a photo by giving its url location by using PHP/ Laravel?

Accordingly with

<div class="box-noticias">
	<a href="javascript:void(0);" onclick='....;' >
	{{$vitrine->url}}
	</a>                    
</div>

Open in new window


Actually the{{$vitrine->url}}  presents the url itself, something like:

https://xxxxx.blob.core.windows.net/xxx/vitrines/87w91898.BMP

So I need to render it to show as a image.

Thanks in advance.
Comment
Watch Question

Most Valuable Expert 2018
Distinguished Expert 2019
Commented:
If the URL you have is the proper URL of the image, then why not just render an <img> element:

<img src="{{ $vitrine->url }}">
Eduardo FuerteDeveloper and Analyst

Author

Commented:
Chris

Perfect!

Thank you very much.