SMF For Free Support Forum

SMF For Free Support => General Support => Topic started by: ermenton on February 10, 2018, 05:11:36 pm

Title: How Replace broken image with default image bbcode or else?
Post by: ermenton on February 10, 2018, 05:11:36 pm
Hi, i was in phpbb3 and i used this code in custom bbcode:

Code: [Select]
<img style="width: 300px; height: 440px;" alt="img" src="{URL}" onError="this.onerror=null;this.src='images/nobroken.png';" />
There's a way to do the same thing in SMF 2.0.15?

I have a lot of broken images in my forum and this script is the Top for me.
Let me know, and thanks so much if someone can help me!
Title: Re: How Replace broken image with default image bbcode or else?
Post by: SMF For Free on February 10, 2018, 05:14:35 pm
You can but would require a custom script to go though the messages to find and replace the values. That would require a developer.
Title: Re: How Replace broken image with default image bbcode or else?
Post by: ermenton on February 11, 2018, 10:00:08 am
ok thanks.