Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [General] Image Embeder
#1
Not Solved
Image Embeder want Please ???
Reply
#2
Not Solved
Ok... A little more details?
MyBB Translator & helper
Please do not PM me requesting free support or help for your forums.
You can see my paid services here.
Reply
#3
Not Solved
if i post only image link than automatic [IMG] [/IMG] code
Reply
#4
Not Solved
Hmm... I'm not sure that there is some plugin for that, I can try something and keep you notified.

For now, this plugin can help a bit maybe: https://community.mybb.com/mods.php?action=view&pid=428

So, you can try with following code...

Go to ACP -> Configuration -> MyCode -> Add new MyCode

Than choose title and paste this:

Regular Expression:
\[url\](.*?).jpg\[/url\]

Replacement:
<img src="$1.jpg" />

Or if you want for image to become also a link:

Replacement:
<a href="$1.jpg"><img src="$1.jpg" /></a>

Please note: that you need to repeat this for each of image extensions.

This is just for .jpg extension

Here are some of other extensions which I have on my mind now...

Regular Expression:
\[url\](.*?).png\[/url\]

Replacement:
<img src="$1.png" />



Regular Expression:
\[url\](.*?).jpeg\[/url\]

Replacement:
<img src="$1.jpeg" />



Regular Expression:
\[url\](.*?).gif\[/url\]

Replacement:
<img src="$1.gif" />

etc.
MyBB Translator & helper
Please do not PM me requesting free support or help for your forums.
You can see my paid services here.
Reply
#5
Not Solved
not working
Reply
#6
Not Solved
Please write steps you did and error which occours...
MyBB Translator & helper
Please do not PM me requesting free support or help for your forums.
You can see my paid services here.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)