Skip to content

Commit

Permalink
图片上传
Browse files Browse the repository at this point in the history
  • Loading branch information
yixiu001 committed Jul 12, 2024
1 parent 203051e commit 0a473ca
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 1 deletion.
Binary file added blog/post/us.kg504bug.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 9 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ <h1>一休github简易图床系统</h1>
</header>
<div id="category-toggle" onclick="toggleCategoryNav()">分类</div>
<nav id="category-nav">
<a href="#youtube" onclick="toggleCategoryNav()">youtube</a><a href="#blog/svg" onclick="toggleCategoryNav()">blog/svg</a><a href="#blog/images" onclick="toggleCategoryNav()">blog/images</a><a href="#blog/creativity" onclick="toggleCategoryNav()">blog/creativity</a><a href="#blog/about" onclick="toggleCategoryNav()">blog/about</a><a href="#blog/bg" onclick="toggleCategoryNav()">blog/bg</a><a href="json/images.json" download style="color: yellow;">导出所有图片信息</a>
<a href="#youtube" onclick="toggleCategoryNav()">youtube</a><a href="#blog/svg" onclick="toggleCategoryNav()">blog/svg</a><a href="#blog/post" onclick="toggleCategoryNav()">blog/post</a><a href="#blog/images" onclick="toggleCategoryNav()">blog/images</a><a href="#blog/creativity" onclick="toggleCategoryNav()">blog/creativity</a><a href="#blog/about" onclick="toggleCategoryNav()">blog/about</a><a href="#blog/bg" onclick="toggleCategoryNav()">blog/bg</a><a href="json/images.json" download style="color: yellow;">导出所有图片信息</a>
</nav>
<div class="container">
<h2 id="youtube">youtube <a href="json/images_youtube.json" download style="color: yellow;">导出该分类图片信息</a></h2><div class="gallery">
Expand Down Expand Up @@ -206,6 +206,14 @@ <h2 id="youtube">youtube <a href="json/images_youtube.json" download style="colo
<a href="https://cdn.jsdelivr.net/gh/yixiu001/Figurebed@main/blog/svg/一休-上班摸鱼中.svg" target="_blank" onclick="copyToClipboard('https://cdn.jsdelivr.net/gh/yixiu001/Figurebed@main/blog/svg/一休-上班摸鱼中.svg'); return false;">jsdelivr CDN 加速地址</a>
</div>
</div>
</div><h2 id="blog/post">blog/post <a href="json/images_blog/post.json" download style="color: yellow;">导出该分类图片信息</a></h2><div class="gallery">
<div class="gallery-item">
<img src="https://cdn.jsdelivr.net/gh/yixiu001/Figurebed@main/blog/post/us.kg504bug.png" alt="us.kg504bug.png" onerror="this.onerror=null;this.src='https://github.com/yixiu001/Figurebed/raw/main/blog/post/us.kg504bug.png';">
<div class="link-overlay">
<a href="https://github.com/yixiu001/Figurebed/raw/main/blog/post/us.kg504bug.png" target="_blank" onclick="copyToClipboard('https://github.com/yixiu001/Figurebed/raw/main/blog/post/us.kg504bug.png'); return false;">HTTPS 访问地址</a>
<a href="https://cdn.jsdelivr.net/gh/yixiu001/Figurebed@main/blog/post/us.kg504bug.png" target="_blank" onclick="copyToClipboard('https://cdn.jsdelivr.net/gh/yixiu001/Figurebed@main/blog/post/us.kg504bug.png'); return false;">jsdelivr CDN 加速地址</a>
</div>
</div>
</div><h2 id="blog/images">blog/images <a href="json/images_blog/images.json" download style="color: yellow;">导出该分类图片信息</a></h2><div class="gallery">
<div class="gallery-item">
<img src="https://cdn.jsdelivr.net/gh/yixiu001/Figurebed@main/blog/images/error_404.gif" alt="error_404.gif" onerror="this.onerror=null;this.src='https://github.com/yixiu001/Figurebed/raw/main/blog/images/error_404.gif';">
Expand Down
7 changes: 7 additions & 0 deletions json/images.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@
"cdn_url": "https://cdn.jsdelivr.net/gh/yixiu001/Figurebed@main/blog/svg/一休-上班摸鱼中.svg"
}
],
"blog/post": [
{
"file": "blog/post/us.kg504bug.png",
"https_url": "https://github.com/yixiu001/Figurebed/raw/main/blog/post/us.kg504bug.png",
"cdn_url": "https://cdn.jsdelivr.net/gh/yixiu001/Figurebed@main/blog/post/us.kg504bug.png"
}
],
"blog/images": [
{
"file": "blog/images/error_404.gif",
Expand Down
7 changes: 7 additions & 0 deletions json/images_blog/post.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[
{
"file": "blog/post/us.kg504bug.png",
"https_url": "https://github.com/yixiu001/Figurebed/raw/main/blog/post/us.kg504bug.png",
"cdn_url": "https://cdn.jsdelivr.net/gh/yixiu001/Figurebed@main/blog/post/us.kg504bug.png"
}
]

0 comments on commit 0a473ca

Please sign in to comment.