如何在Laravel中显示GIF [英] How to display GIF's in laravel
问题描述
我正在使用Firefox浏览器,尝试了所有 PNG , JPG ,并且除了 GIF 之外,其他所有工具都可以正常工作。
这就是问题,如果我测试 http://localhost/pepsi.gif
,则GIF实际上正在工作并显示。但是当我在 HTML img标签中尝试它时,它没有显示。
这是下面的简单代码:
< img src = http://localhost/pepsi.gif alt = No GIF
有人可以帮助我该怎么做?我真的很喜欢这个。
这很可能是由广告拦截器或扩展程序引起的。 / p>
尝试按1禁用它们,并查看图像是否加载。
或尝试使用隐身浏览器。
I'm using Firefox Browser, tried all PNG's, JPG's and all were working, except GIF.
Here's the thing, if I test http://localhost/pepsi.gif
, the GIF is actually working and displaying. But when I tried it inside HTML img tag it does not displaying.
Here's the simple code below:
<img src="http://localhost/pepsi.gif" alt="No GIF">
Somebody could help me how to do it? I'm really stucked with this one.
This is most likely to be caused by an ad-blocker or extension.
Try disabling them 1 by 1 and see if the image loads.
Or try an incognito browser.
这篇关于如何在Laravel中显示GIF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!