gpt4 book ai didi

php - 我可以显示没有扩展名的图像吗

转载 作者:行者123 更新时间:2023-11-28 02:32:51 25 4
gpt4 key购买 nike

如果我可以制作这样的图片网址,请告诉我 http://placehold.it/1000/1000除了这个 https://i.ytimg.com/vi/sXAwqoJ-WUA/maxresdefault.jpg

简而言之,我想将图片链接 ( https://i.ytimg.com/vi/sXAwqoJ-WUA/maxresdefault.jpg ) 更改为我的站点目录 (mysite.com/images/one)

编辑:这不是其他问题的重复,因为我想在图像不在我的服务器上时执行此操作。

最佳答案

是的,您可以这样做,因为您必须创建一个 html 文件,并且在“index.html”中,您可以将图像插入到图像标签中。

 <!DOCTYPE html>

<html>

<head>

<title> images </title>

</head>

<body>

<img src="http://placehold.it/1000/1000 " style="max-width: 100%">

</body>

</html>

文件位置mysite.com/images/one/index.html
并运行您的链接 mysite.com/images/one

关于php - 我可以显示没有扩展名的图像吗,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47606565/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com