Not Solved [General] Image Embeder
#1
Not Solved
Image Embeder want Please ???
#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.
#3
Not Solved
if i post only image link than automatic [IMG] [/IMG] code
#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.
#5
Not Solved
not working
#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.
#7
Not Solved
not working
#8
Not Solved
how to do it in 1.8?
#9
Not Solved
Regular expression: (https?://[^ ]+\.(png|gif|jpeg|jpg))
Replacement: <a href="$1"><img src="$1" /></a>
[MyBB 1.8 mods] - Offer me a coffee
Do not ask me help through PM
#10
Not Solved
thanks, retrived this tho:

[Image: u2zaAaM.png]


Forum Jump:


Users browsing this thread: 1 Guest(s)