在Gitub页面上不出现IMGES

发布于 2025-02-06 02:01:59 字数 358 浏览 2 评论 0原文

我正在尝试两天来解决Github页面上没有出现问题的图像。我搜索并应用了所有方式。 请逐步指导我,如果可能的话,请使用屏幕截图。答案是../不起作用。我对把它放在哪里感到困惑。是否应该在存储库文件中编辑indes.html文件,或者只是在桌面上的本地文件中编辑,然后上传。我的拼写和案例也是正确的。

这是存储库的链接 https://github.com/biqrar/biqrar/responsive-qr-code-code-card。 git

I am trying for two days to resolve the images not appearing issue on Github pages. I searched and applied all the ways.
Please guide me step by step and if possible with a screenshot. the answer with ../ is not working. I am confused about where to put it. should I edit the indes.html file inside the repository file or just edit in the local file on the desktop and then upload it. my spelling and case are also correct.

here is the link to the repository
https://github.com/biqrar/Responsive-QR-Code-card.git

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

(り薆情海 2025-02-13 02:02:00

我看到的是,图像文件处于索引的相同路径中。
因此,图像来源的路径应仅是文件名称

<img src="image-qr-code.png"
      class="card-img-top mt-2 px-2 py-2 mb-2"
      alt="QR-code"
/>

What I see is that the image file is in the same path of index.
so the path for source of image should be only file name

<img src="image-qr-code.png"
      class="card-img-top mt-2 px-2 py-2 mb-2"
      alt="QR-code"
/>
执笔绘流年 2025-02-13 02:02:00

也许我误解了您的问题,但是它像通往图像的道路一样简单吗?在您的存储库中,QR PNG图像和网页位于同一文件夹中。因此,更改 index.html 的第32行 src =“ image-qr-code.png”使其显示。

enter image description here

Perhaps I misunderstand your question, but is it as simple as the path to your image is wrong? Within your repository the qr png image and your webpage reside in the same folder. So changing line 32 of index.html to src="image-qr-code.png" makes it display.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文