Forgot password?
 Create new account
View 89|Reply 10

imgur 我们是看不到的

[Copy link]

15

Threads

948

Posts

110K

Credits

Credits
12412

Show all posts

色k Posted at 7 days ago |Read mode
imgur 我们是看不到的
这名字我喜欢

3148

Threads

8489

Posts

610K

Credits

Credits
66148
QQ

Show all posts

hbghlyj Posted at 7 days ago
我看到帖子 forum.php?mod=viewthread&tid=5419 中使用了 imgur 外部图  

Comment

这都N年前的帖子了啊,有变化不是很正常吗  Posted at 7 days ago

3148

Threads

8489

Posts

610K

Credits

Credits
66148
QQ

Show all posts

hbghlyj Posted at 7 days ago
meta.stackexchange.com/questions/157459/i-sta … images-being-blocked 提到的方法是在链接前添加https://duckduckgo.com/iu/?u=

701

Threads

110K

Posts

910K

Credits

Credits
94145
QQ

Show all posts

kuing Posted at 7 days ago
hbghlyj 发表于 2025-4-13 07:28
我看到帖子 forum.php?mod=viewthread&tid=5419 中使用了 imgur 外部图
一直转圈圈,出不来图

701

Threads

110K

Posts

910K

Credits

Credits
94145
QQ

Show all posts

kuing Posted at 7 days ago
hbghlyj 发表于 2025-4-13 08:19
已替换为imgur的镜像https://www.reddit.com/r/reddit.com/comments/f2jh4/i_made_another_imgur_mirror_n ...
还是转圈😌

3148

Threads

8489

Posts

610K

Credits

Credits
66148
QQ

Show all posts

hbghlyj Posted at 7 days ago

701

Threads

110K

Posts

910K

Credits

Credits
94145
QQ

Show all posts

kuing Posted at 7 days ago
hbghlyj 发表于 2025-4-13 08:47
https://imgur.kageurufu.net/iFZWD.jpg 可以吗
就算现在行,未来随时不行。
就像当年Imgur能看,现在就不能看,这难以预测,完全看墙的心情。
所以尽量别用外链

3148

Threads

8489

Posts

610K

Credits

Credits
66148
QQ

Show all posts

hbghlyj Posted at 7 days ago
用PHP做imgur的中转:
  1. <?php
  2. $imgur = $_SERVER['QUERY_STRING'] ;
  3. if(!preg_match('/^([a-z0-9]{5})\.(png|jpg|gif)$/i', $imgur, $m))
  4.     die('Not a valid imgur image');
  5. $fname='./cache/'.$m[1].'.'.$m[2];
  6. if(file_exists($fname)){
  7.     header('Content-type: image');
  8.     die(file_get_contents($fname));
  9. }
  10. $con = stream_context_create(array('http'=>array('timeout'=>15)));
  11. $image = @file_get_contents('http://i.imgur.com/'.$imgur,0,$con);
  12. if(!$image) die('Cannot retrieve imgur file');
  13. file_put_contents($fname, $image);
  14. header('Content-type: image');
  15. echo $image;
Copy the Code
reddit.com/r/reddit.com/comments/f2jh4/i_made … r_mirror_noncaching/

701

Threads

110K

Posts

910K

Credits

Credits
94145
QQ

Show all posts

kuing Posted at 7 days ago

反正那个蛋蛋帖到现在都没看到🥚🥚
我都不知道你在干嘛……😌我再眯会😪

Comment

现在好了  Posted at 6 days ago

3148

Threads

8489

Posts

610K

Credits

Credits
66148
QQ

Show all posts

hbghlyj Posted at 7 days ago
kuing 发表于 2025-4-13 02:00
我都不知道你在干嘛
i.stack.imgur.com 和上面的 imgur.com 不一样,无法用 imgur.kageurufu.net 代替😳
这是因为 Stack Exchange’s image hosting arrangement with Imgur has ended

手机版Mobile version|Leisure Math Forum

2025-4-20 12:09 GMT+8

Powered by Discuz!

× Quick Reply To Top Return to the list