Skip to content

Commit

Permalink
图片上传
Browse files Browse the repository at this point in the history
  • Loading branch information
yixiu001 committed Jul 14, 2024
1 parent f21945d commit 52a6a2d
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
Binary file added blog/images/code.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,14 @@ <h2 id="youtube">youtube <a href="json/images_youtube.json" download style="colo
</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/code.jpg" alt="code.jpg" onerror="this.onerror=null;this.src='https://github.com/yixiu001/Figurebed/raw/main/blog/images/code.jpg';">
<div class="link-overlay">
<a href="https://github.com/yixiu001/Figurebed/raw/main/blog/images/code.jpg" target="_blank" onclick="copyToClipboard('https://github.com/yixiu001/Figurebed/raw/main/blog/images/code.jpg'); return false;">HTTPS 访问地址</a>
<a href="https://cdn.jsdelivr.net/gh/yixiu001/Figurebed@main/blog/images/code.jpg" target="_blank" onclick="copyToClipboard('https://cdn.jsdelivr.net/gh/yixiu001/Figurebed@main/blog/images/code.jpg'); return false;">jsdelivr CDN 加速地址</a>
</div>
</div>

<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';">
<div class="link-overlay">
Expand Down
5 changes: 5 additions & 0 deletions json/images.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@
}
],
"blog/images": [
{
"file": "blog/images/code.jpg",
"https_url": "https://github.com/yixiu001/Figurebed/raw/main/blog/images/code.jpg",
"cdn_url": "https://cdn.jsdelivr.net/gh/yixiu001/Figurebed@main/blog/images/code.jpg"
},
{
"file": "blog/images/error_404.gif",
"https_url": "https://github.com/yixiu001/Figurebed/raw/main/blog/images/error_404.gif",
Expand Down
5 changes: 5 additions & 0 deletions json/images_blog/images.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
[
{
"file": "blog/images/code.jpg",
"https_url": "https://github.com/yixiu001/Figurebed/raw/main/blog/images/code.jpg",
"cdn_url": "https://cdn.jsdelivr.net/gh/yixiu001/Figurebed@main/blog/images/code.jpg"
},
{
"file": "blog/images/error_404.gif",
"https_url": "https://github.com/yixiu001/Figurebed/raw/main/blog/images/error_404.gif",
Expand Down

0 comments on commit 52a6a2d

Please sign in to comment.