Remove/Replace Images With Direct Link In Quoted Posts

I’m sure I mentioned this before, but I think it was just ignored.

I’m tired of having to edit stupidly sized images out of posts where the original post (with images) has been added to a quote pyramid, my suggestion is to strip the [ IMG] tags and just leave the direct link in the quoted post.

I can’t imagine this is too difficult, and it’ll save a great deal of scrolling.

Thoughts etc

Edit: here is a ready made mod, kindly provided by sk8rdude461: http://custom.simplemachines.org/mods/index.php?mod=2430

I think you should only display the link in quotes, not the actual image.

Which is exactly what I just said :wink:

Edit: I see what you mean, edited the title accordingly.

http://custom.simplemachines.org/mods/index.php?mod=2430
Would you look at that…

[quote=“sk8rdude461, post:4, topic:543570”]http://custom.simplemachines.org/mods/index.php?mod=2430
Would you look at that…[/quote]
Ah, sounds perfect, cheers mate :slight_smile: that’ll save the usual excuses from the admins of it being too difficult to implement.

Could just always write your own regex to snip out unwanted tags.

I have submitted a pull request for this, awaiting approval now.

Was approved? If so it didn’t work :confused:

[quote=“Ashi, post:8, topic:543570”][quote author=SilentCJ link=topic=662449.msg4428000#msg4428000 date=1401752524]
I have submitted a pull request for this, awaiting approval now.
[/quote]
Was approved? If so it didn’t work :confused:[/quote]It hasn’t been accepted yet, since the plugin hasn’t been tested.

I know you made a pull request but you did it wrong initially, I can’t see any new pull requests right now so I’m going to assume you never got around to doing it :p. Like with your other quote suggestion I think it’s a good idea and something I can easily implement. Unless anyone has explicit reservations about these changes I’ll go ahead and add them and make a pull request later.

Why would we implement this? We have a spoiler tag to hide images. If we stripped all of the images on the server advertisements, then media is going to be pretty pointless.

Just FYI I think this broke quotes or something when I pushed it to the test server, I’ll check the log later.

This only applies to quoted posts and just because we have a spoiler tag doesn’t mean it’s globally used in the right circumstances.

[quote=“Tom, post:12, topic:543570”]Just FYI I think this broke quotes or something when I pushed it to the test server, I’ll check the log later.

This only applies to quoted posts and just because we have a spoiler tag doesn’t mean it’s globally used in the right circumstances.[/quote]
Fair enough, must have misinterpreted it. Sounds like a good idea then.