joker_josue
Legendary

Activity: 2520
Merit: 7517
**In BTC since 2013**
|
 |
November 12, 2023, 04:32:41 PM |
|
Let's wait for TryNinja just in case. I guess the API key needs to be updated as well. If you use imgbb, you need to edit the API key in the code and enter your own. The API code is already set by default for your site, TalkImg, but it can also be edited. vgy.me surely has unique API codes as well.
The API code is just for the script to upload to TalkImg. The script does not use other API codes, it just takes the image link and sends it to TalkImg via API. Note this explanation: Imagine that I have images on Imgbb and I want to transfer them to TalkImg, is it possible?
Forgot to reply this one, sorry. Yes, you can. I've added a imageLinkRegex variable at the top. It currently only matches imgur links ending with png, jpg, jpeg (edit: and gif). If you want to match ONLY imgbb images, you can use: /https:\/\/i\.ibb\.co\/.*?\.(png|jpg|jpeg|gif)/gi If you want to match BOTH imgbb and imgur images: /https:\/\/i\.ibb\.co\/.*?\.(png|jpg|jpeg|gif)|https:\/\/i\.imgur\.com\/.*?\.(png|jpg|jpeg|gif)/gi
|
| MoBit | | ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ | | NO LOGS LOW FEES PGP GUARANTEE | | ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ | | | ▄██████▄▄▄ █████████████▄▄ ███████████████ ███████████████ ███████████████ ███████████████ ███░░█████████ ███▌▐█████████ █████████████ ███████████▀ ██████████▀ ████████▀ ░▀▀██▀▀ |
|
|
|
TryNinja (OP)
Legendary

Activity: 3696
Merit: 11151
@ List of no-KYC websites: https://bitlist.co
|
I was wondering if there is a quick way to add new image hosts to the code? A few years ago, I used vgy.me for images in some of my threads. Perhaps the script could be used to automatically replace those links as well.
Yes, there is. joker_josue is correct. The following line is used to grab the images which are then uploaded to talkimg: const imageLinkRegex = /https:\/\/i\.imgur\.com\/.*?\.(png|jpg|jpeg|gif)/gi For vgy.me, you would probably use: const imageLinkRegex = /https:\/\/vgy\.me\/.*?\.(png|jpg|jpeg|gif)/gi Or for both imgur and vgy.me: const imageLinkRegex = /https:\/\/vgy\.me\/.*?\.(png|jpg|jpeg|gif)|https:\/\/i\.imgur\.com\/.*?\.(png|jpg|jpeg|gif)/gi
|
| DΞX.fo | | | | | | ▄▄██████ █████████ ██████████ ██████████ ██████████ █████████ ▀▀██████
▄███████ ▄██████████ ████████████ █████████████ █████████████ | | | | ▄▄█ ▄████▀ ▄███▀█▄ ▄██▀█▄██ █████▀▀█ ████████ ████████ ▀██▄████ ▄████▄▄█ ▄█████▀███ ▄█████▀████▀ █████▀███████ ▀██▀█████████ | | | | | ..BTC......XMR... ..USDT.....LTC... ....Fees 0.8%..... |
|
|
|
Pmalek
Legendary

Activity: 3626
Merit: 9574
|
 |
November 12, 2023, 06:08:13 PM |
|
OK, it worked to some degree. The images that are still available and uploaded on vgy.me are now available with a TalkImg link. But it seems that for some reason vgy.me deleted most of the images I uploaded years ago. Those are unfortunately lost now. But that's not something that you can do anything about.
Excellent service, thanks a lot!
|
| EARNBET | | | ⚽ 🏀 🏈 🏓 🎯 🥊 |
| ⚾ 🎾 ⛳ 🏐 🏏 🏎️ | | |
███████▄▄███████████ ████▄██████████████████ ██▄▀▀███████████████▀▀███ █▄████████████████████████ ▄▄████████▀▀▀▀▀████████▄▄██ ███████████████████████████ █████████▌████▀████████████ ███████████████████████████ ▀▀███████▄▄▄▄▄█████████▀▀██ █▀█████████████████████▀██ ██▀▄▄███████████████▄▄███ ████▀██████████████████ ███████▀▀███████████ | ....HIGHEST.... VIP REWARDS ✔ G U A R A N T E E D
| | | 🜲 | KING OF THE CASTLE $200K in prizes | | | ..PLAY NOW.. |
|
|
|
ChiBitCTy
Legendary

Activity: 2828
Merit: 3878
|
 |
May 05, 2024, 11:04:23 AM Merited by PowerGlove (1) |
|
I know some will be quite shocked, but I finally tried to run this, and uhh , coming up short...story of my life. I read at least 6-7 articles on how to properly run a script, but not one explained how on a 1990's AOL Script Kiddie level of savy..thats more my speed. Read through this thread best as I could (it's late, bout to east a snack and pass the f out). I would post the exact errors but I dunno if by providing exposing anything I shouldn't.. but top error "Uncaught type error: Fail to execute" then a second warning telling me I'm an idiot and not to post code I don't understand...They pegged me dead on there. Any guidance would be much appreciated! I have quite a few topics I worked hard on that need to img fixed and would sldo benefit those down the road to stay looking nice (here's what I tried to work on- https://bitcointalk.org/index.php?topic=5174217.0 ). Sorry for being a dumbass ya'll. cheers-ty Had more to write,.just fell asleep doing it..all for now..thanks my friends for any guidance!
|
|
|
|
|
TryNinja (OP)
Legendary

Activity: 3696
Merit: 11151
@ List of no-KYC websites: https://bitlist.co
|
Any guidance would be much appreciated! I have quite a few topics I worked hard on that need to img fixed and would sldo benefit those down the road to stay looking nice (here's what I tried to work on- https://bitcointalk.org/index.php?topic=5174217.0 ). Sorry for being a dumbass ya'll. cheers-ty Have you tried the "Single Topic" version? "Single Topic" versionGet the code here: https://gist.github.com/ninjastic/59bde80306c32153a5775b9a570b16b7Run it on any topic and all images posted by you will be updated. IMPORTANT: only images that are shown on the screen! This means that if you are on page 1, the script won't update the images on page 2. You can use the ;all page on the forum to make all posts show up all at once (probably won't work properly if the topic is huge?). Just go to the topic you want to update (read the disclaimer above), copy the entire thing, open your console's developer tools console (on Chrome/Edge: Ctrl + Shift + I), paste it, run it. Let me know of any errors you get.
|
| DΞX.fo | | | | | | ▄▄██████ █████████ ██████████ ██████████ ██████████ █████████ ▀▀██████
▄███████ ▄██████████ ████████████ █████████████ █████████████ | | | | ▄▄█ ▄████▀ ▄███▀█▄ ▄██▀█▄██ █████▀▀█ ████████ ████████ ▀██▄████ ▄████▄▄█ ▄█████▀███ ▄█████▀████▀ █████▀███████ ▀██▀█████████ | | | | | ..BTC......XMR... ..USDT.....LTC... ....Fees 0.8%..... |
|
|
|
ChiBitCTy
Legendary

Activity: 2828
Merit: 3878
|
 |
May 17, 2024, 10:22:08 PM |
|
Any guidance would be much appreciated! I have quite a few topics I worked hard on that need to img fixed and would sldo benefit those down the road to stay looking nice (here's what I tried to work on- https://bitcointalk.org/index.php?topic=5174217.0 ). Sorry for being a dumbass ya'll. cheers-ty Have you tried the "Single Topic" version? "Single Topic" versionGet the code here: https://gist.github.com/ninjastic/59bde80306c32153a5775b9a570b16b7Run it on any topic and all images posted by you will be updated. IMPORTANT: only images that are shown on the screen! This means that if you are on page 1, the script won't update the images on page 2. You can use the ;all page on the forum to make all posts show up all at once (probably won't work properly if the topic is huge?). Just go to the topic you want to update (read the disclaimer above), copy the entire thing, open your console's developer tools console (on Chrome/Edge: Ctrl + Shift + I), paste it, run it. Let me know of any errors you get. Hell...please bare with me and if you want to ignore me, wouldn't blame ya! I read all rules, and followed directions from your last post. I realized I just had to comply with the chrome rules of "make sure you know what script you're running". I then highlighted the entire box of code from your github link, and c/p/enter into console ..it ran and said it was fixing all the images , and each one now says uploaded with a talkimg link. At the end of everything in console remains lines 227-30..stating "Finished". I now realize maybe I wasn't supposed to copy everything from that script box? I stupidly missed the copy script button to the right of "embed". So, not sure if that was a fck up or not...assuming not..but assuming makes an ...well you know.
If I ran it properly, and I did so about 30mns ago now..none of the broken links were fixed. I didn't get any errors though in the console box. I also realize I may have fd up by simply opening btalk in another tab to type this up but I THINK the script had finished by that time. I think. Perhaps the images are too large too..I dunno. I would doubt they all would be, however ( https://bitcointalk.org/index.php?topic=5174217.0 )
Apologies for being such a moron. I will def be donating a few sats regardless to that addy. I really appreciate all that you do here! .. as well as your fellow Mr Robots (like my buds LV and PG and of course the mods!) It worked, I'm good to go. Thanks !!
|
|
|
|
|
Pmalek
Legendary

Activity: 3626
Merit: 9574
|
 |
June 28, 2024, 11:28:14 AM |
|
TryNinja, I would like to make you aware of a bug in your code which affects the script, making image replacement unsuccessful. As @PowerGlove wrote in this post, his Post History fix makes your script not capable of doing what it's supposed to do. But if you change one line of code as described in the post, it will work again.
|
| EARNBET | | | ⚽ 🏀 🏈 🏓 🎯 🥊 |
| ⚾ 🎾 ⛳ 🏐 🏏 🏎️ | | |
███████▄▄███████████ ████▄██████████████████ ██▄▀▀███████████████▀▀███ █▄████████████████████████ ▄▄████████▀▀▀▀▀████████▄▄██ ███████████████████████████ █████████▌████▀████████████ ███████████████████████████ ▀▀███████▄▄▄▄▄█████████▀▀██ █▀█████████████████████▀██ ██▀▄▄███████████████▄▄███ ████▀██████████████████ ███████▀▀███████████ | ....HIGHEST.... VIP REWARDS ✔ G U A R A N T E E D
| | | 🜲 | KING OF THE CASTLE $200K in prizes | | | ..PLAY NOW.. |
|
|
|
dragonvslinux
Legendary

Activity: 1890
Merit: 2344
|
 |
April 10, 2026, 04:53:47 PM |
|
Bumpidy bump time I'm afraid. Mainly a question for TryNinja, though maybe others will be able to assist. Firstly, how easy would it be to modify this script to use on a different forum? Secondly, I can't remember how it worked when I used it before, but is it possible to implement on other users posts, assuming the account has the permissions to implement such changes? Basically having spoke to joker_josie I'm figuring out migrating images elsewhere, but it wouldn't just be for my posts, it would instead be a few others as well. Also the need to selectively change other users posts, rather than all of them, in a not-so-invasive type way... maybe you see what I'm trying to accomplish here.
Probably all that is beyond the capabilities of the script of anyone's desire to make modifications, but thought I'd ask anyway.
|
| DΞX.fo | | | | | | ▄▄██████ █████████ ██████████ ██████████ ██████████ █████████ ▀▀██████
▄███████ ▄██████████ ████████████ █████████████ █████████████ | | | | ▄▄█ ▄████▀ ▄███▀█▄ ▄██▀█▄██ █████▀▀█ ████████ ████████ ▀██▄████ ▄████▄▄█ ▄█████▀███ ▄█████▀████▀ █████▀███████ ▀██▀█████████ | | | | | BTC XMR DAI LTC Fees 0.8% |
Report To Admin b1exch.to Instant Automated Exchan
|
|
|
fillippone
Legendary
Online
Activity: 3024
Merit: 21519
Duelbits.com - Rewarding, beyond limits.
|
 |
April 10, 2026, 07:51:04 PM |
|
Bumpidy bump time I'm afraid. Mainly a question for TryNinja, though maybe others will be able to assist. Firstly, how easy would it be to modify this script to use on a different forum? Secondly, I can't remember how it worked when I used it before, but is it possible to implement on other users posts, assuming the account has the permissions to implement such changes? Basically having spoke to joker_josie I'm figuring out migrating images elsewhere, but it wouldn't just be for my posts, it would instead be a few others as well. Also the need to selectively change other users posts, rather than all of them, in a not-so-invasive type way... maybe you see what I'm trying to accomplish here.
Probably all that is beyond the capabilities of the script of anyone's desire to make modifications, but thought I'd ask anyway.
I guess the modification of a post, also known as "editing" require user password, i.e. consent. So I think it would be extremely difficult to run this script without being logged in in each author's profile. Maybe only a moderator could do that.
|
|
|
|
dragonvslinux
Legendary

Activity: 1890
Merit: 2344
|
 |
April 10, 2026, 07:55:18 PM |
|
Maybe only a moderator could do that.
Yeh, that's I mean. Using global mod privileges to achieve such aims, it'd save doing it manually. At least, the edit link is the same regardless.
|
| DΞX.fo | | | | | | ▄▄██████ █████████ ██████████ ██████████ ██████████ █████████ ▀▀██████
▄███████ ▄██████████ ████████████ █████████████ █████████████ | | | | ▄▄█ ▄████▀ ▄███▀█▄ ▄██▀█▄██ █████▀▀█ ████████ ████████ ▀██▄████ ▄████▄▄█ ▄█████▀███ ▄█████▀████▀ █████▀███████ ▀██▀█████████ | | | | | BTC XMR DAI LTC Fees 0.8% |
Report To Admin b1exch.to Instant Automated Exchan
|
|
|
fillippone
Legendary
Online
Activity: 3024
Merit: 21519
Duelbits.com - Rewarding, beyond limits.
|
 |
April 10, 2026, 08:03:28 PM |
|
Maybe only a moderator could do that.
Yeh, that's I mean. Using global mod privileges to achieve such aims, it'd save doing it manually. At least, the edit link is the same regardless. Aww now I understand. Yes. I think the best idea is asking directly to TryNinja to cook something specifically designed for you! or... you can try to vibecode it! (not implying that Claude>Tryninja).
|
|
|
|
dragonvslinux
Legendary

Activity: 1890
Merit: 2344
|
 |
April 10, 2026, 08:13:17 PM Merited by fillippone (3) |
|
or... you can try to vibecode it! (not implying that Claude>Tryninja).
Thanks but not going to do any vibecoding as I'm no coder, I've gotta edit some admin topics, so that would be somewhat reckless. Probably using a script with mod privileges is ill advised but I'm thinking YOLO. I've been stripped and restored before so probably be ok. Disclaimer: this is not mod advise.
|
| DΞX.fo | | | | | | ▄▄██████ █████████ ██████████ ██████████ ██████████ █████████ ▀▀██████
▄███████ ▄██████████ ████████████ █████████████ █████████████ | | | | ▄▄█ ▄████▀ ▄███▀█▄ ▄██▀█▄██ █████▀▀█ ████████ ████████ ▀██▄████ ▄████▄▄█ ▄█████▀███ ▄█████▀████▀ █████▀███████ ▀██▀█████████ | | | | | BTC XMR DAI LTC Fees 0.8% |
Report To Admin b1exch.to Instant Automated Exchan
|
|
|
ChiBitCTy
Legendary

Activity: 2828
Merit: 3878
|
 |
September 24, 2026, 04:03:51 PM |
|
The one thread I care about keeping the images alive - https://bitcointalk.org/index.php?topic=5174217.0From the looks of the last few posts (skimmed quickly) I guess I just reupload what’s not working on talkimg atm ,huh? Edit- Okay now they’re working (but maybe not an hour from now ? A week they work fine. The next day maybe not ? Man color me confused on all this. Ninja helped me fix it originally- wish I had he and PowerGlove’s skills. Help give those two a break as of course we look to them in particular for all this stuff.
|
|
|
|
|
joker_josue
Legendary

Activity: 2520
Merit: 7517
**In BTC since 2013**
|
 |
September 24, 2026, 05:52:55 PM |
|
The one thread I care about keeping the images alive - https://bitcointalk.org/index.php?topic=5174217.0From the looks of the last few posts (skimmed quickly) I guess I just reupload what’s not working on talkimg atm ,huh? Edit- Okay now they’re working (but maybe not an hour from now ? A week they work fine. The next day maybe not ? Man color me confused on all this. Ninja helped me fix it originally- wish I had he and PowerGlove’s skills. Help give those two a break as of course we look to them in particular for all this stuff. What is the problem with images on TalkImg? Everything is working as it should.
|
| MoBit | | ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ | | NO LOGS LOW FEES PGP GUARANTEE | | ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ | | | ▄██████▄▄▄ █████████████▄▄ ███████████████ ███████████████ ███████████████ ███████████████ ███░░█████████ ███▌▐█████████ █████████████ ███████████▀ ██████████▀ ████████▀ ░▀▀██▀▀ |
|
|
|
logfiles
Copper Member
Legendary

Activity: 2842
Merit: 2415
|
 |
September 24, 2026, 05:59:50 PM |
|
The one thread I care about keeping the images alive - https://bitcointalk.org/index.php?topic=5174217.0From the looks of the last few posts (skimmed quickly) I guess I just reupload what’s not working on talkimg atm ,huh? Edit- Okay now they’re working (but maybe not an hour from now ? A week they work fine. The next day maybe not ? Man color me confused on all this. Are you referring to the last few posts made by other members in the thread? I see the images were uploaded on imgur and the members are most like to be offline/inactive. Maybe you could PM them to re-upload the images to talkimg or you could quote their posts with links of the re-uploaded images on talkimg if you want to keep the thread alive
|
| | Sportsbet.io | │ |
| │ |
| │ | ████████████████████████ ██ ██████
██ ████████████████
MORE THAN A BET!
██ ████████████████
██ █████████████████████ ██ ████████ |
|
|
|
DYING_S0UL
Legendary

Activity: 1162
Merit: 1256
The Alliance Of Bitcointalk Translator - AOBT
|
 |
September 24, 2026, 07:12:53 PM |
|
The one thread I care about keeping the images alive - https://bitcointalk.org/index.php?topic=5174217.0From the looks of the last few posts (skimmed quickly) I guess I just reupload what’s not working on talkimg atm ,huh? Edit- Okay now they’re working (but maybe not an hour from now ? A week they work fine. The next day maybe not ? Man color me confused on all this. Ninja helped me fix it originally- wish I had he and PowerGlove’s skills. Help give those two a break as of course we look to them in particular for all this stuff. What is the problem with images on TalkImg? Everything is working as it should. Recently I have started seeing the image proxy error quite a few time. It just pops up randomly, and a quick fresh seems to be the only fix. Now, can this be an issue related to bad internet or anything from the user side, like dns issue, or ISP messing it up, or the browser itself? Btw, I took this ss a moment ago, and now it's visible again. 
|
| EARNBET | ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ | ███████▄▄███████████ ████▄██████████████████ ██▄▀▀███████████████▀▀███ █▄████████████████████████ ▄▄████████▀▀▀▀▀████████▄▄██ ███████████████████████████ █████████▌████▀████████████ ███████████████████████████ ▀▀███████▄▄▄▄▄█████████▀▀██ █▀█████████████████████▀██ ██▀▄▄███████████████▄▄███ ████▀██████████████████ ███████▀▀███████████ | | ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ |
▄▄▄ ▄▄▄███████▐███▌███████▄▄▄ █████████████████████████ ▀████▄▄▄███████▄▄▄████▀ █████████████████████ ▐███████████████████▌ ███████████████████ ███████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
| King of The Castle $200,000 in prizes | ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ | 62.5% | RAKEBACK BONUS |
|
|
|
Bitcoin_Arena
Copper Member
Legendary

Activity: 2772
Merit: 2120
฿itcoin for all, All for ฿itcoin.
|
 |
September 24, 2026, 07:53:30 PM |
|
Recently I have started seeing the image proxy error quite a few time. It just pops up randomly, and a quick fresh seems to be the only fix. Now, can this be an issue related to bad internet or anything from the user side, like dns issue, or ISP messing it up, or the browser itself? Btw, I took this ss a moment ago, and now it's visible again.  Same, this happened to me as per this post ---> https://bitcointalk.org/index.php?topic=5450546.msg67170371#msg67170371It made me think maybe it's a problem with my VPN since the images also take some time to download. My internet speed is good. After a few refreshes, things always get back to normal.
|
|
|
|
joker_josue
Legendary

Activity: 2520
Merit: 7517
**In BTC since 2013**
|
 |
September 24, 2026, 11:46:04 PM |
|
Recently I have started seeing the image proxy error quite a few time. It just pops up randomly, and a quick fresh seems to be the only fix. Now, can this be an issue related to bad internet or anything from the user side, like dns issue, or ISP messing it up, or the browser itself? Btw, I took this ss a moment ago, and now it's visible again.  Same, this happened to me as per this post ---> https://bitcointalk.org/index.php?topic=5450546.msg67170371#msg67170371It made me think maybe it's a problem with my VPN since the images also take some time to download. My internet speed is good. After a few refreshes, things always get back to normal. By only posting screenshots of the images, without indicating the topics in which this occurred, it becomes difficult for me to assess. There may be some instability occurring with the forum's image proxy at times. It wouldn't be the first time. Also, in threads with many images, the proxy may take longer to process all the images, resulting in excessive waiting time with the server. But I believe this situation has already been corrected to some extent before, to minimize the impact. It may occur occasionally.
|
| MoBit | | ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ | | NO LOGS LOW FEES PGP GUARANTEE | | ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ | | | ▄██████▄▄▄ █████████████▄▄ ███████████████ ███████████████ ███████████████ ███████████████ ███░░█████████ ███▌▐█████████ █████████████ ███████████▀ ██████████▀ ████████▀ ░▀▀██▀▀ |
|
|
|
LoyceV
Legendary

Activity: 4172
Merit: 22797
Thick-Skinned Gang Leader and Golden Feather 2021
|
By only posting screenshots of the images, without indicating the topics in which this occurred, it becomes difficult for me to assess. DYING_S0UL's screenshot comes from this topic. The image that doesn't load on the screenshot: https://hostmeme.com/uploads/img_723244d23587.jpg The next image works: https://talkimg.com/images/2026/01/15/UFbfwd.png Both images work fine now.
|
|
|
|
joker_josue
Legendary

Activity: 2520
Merit: 7517
**In BTC since 2013**
|
 |
Today at 06:16:27 AM |
|
By only posting screenshots of the images, without indicating the topics in which this occurred, it becomes difficult for me to assess. DYING_S0UL's screenshot comes from this topic. The image that doesn't load on the screenshot: https://hostmeme.com/uploads/img_723244d23587.jpg The next image works: https://talkimg.com/images/2026/01/15/UFbfwd.png Both images work fine now. Yes, it may have been some kind of error loading the proxy in that image. From what I understand, if at any point the proxy is under higher than average load, it may end up not being able to load the image. So, as a rule, a simple page refresh solves the problem. The forum is used by hundreds of people at the same time, so it's normal for small spikes to occur and generate this type of situation.
|
| MoBit | | ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ | | NO LOGS LOW FEES PGP GUARANTEE | | ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ | | | ▄██████▄▄▄ █████████████▄▄ ███████████████ ███████████████ ███████████████ ███████████████ ███░░█████████ ███▌▐█████████ █████████████ ███████████▀ ██████████▀ ████████▀ ░▀▀██▀▀ |
|
|
|
|