Post
Topic
Board Meta
Re: [Script] Imgur to TalkImg - automatically fix your broken images
by
ChiBitCTy
on 17/05/2024, 22:22:08 UTC
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" version

Get the code here: https://gist.github.com/ninjastic/59bde80306c32153a5775b9a570b16b7

Run 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!)