MyBB Community Forums

Full Version: Cannot display images in embedded HTML code using <img>
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I turn on HTML Codes for one of my forums and I can post & display HTML code properly except one thing: <img> e.g.

<img src="http://mysite.com/myJPEGimage.jpg">

doesn't show myJPEGimage.jpg no matter what I do.

Any ideas?
Thanks.
use [img]
<img src="http://mysite.com/myJPEGimage.jpg"> 

Should technically be:
<img src="http://mysite.com/myJPEGimage.jpg" /> 

Can you provide us a link to where this is happened? Does it show an image place holder or just the string of the code?

As Tierney said, you should use MyCode, for security reasons unless access is restricted enabling HTML in posts is not a good idea.
Is it a broken image, or...?? If it's a broken image then the path is just wrong.
Thanks;

Using [img] inside the embedded HTML has solved the problem.

I've forgotten; the link in question was: http://224yesil.dyndns.org/showthread.php?tid=97
(2010-02-24, 12:43 PM)MattRogowski Wrote: [ -> ]Is it a broken image, or...?? If it's a broken image then the path is just wrong.
no, actually it wasn't. It was just that I couldn't figure out using MyCodes inside HTML code, it seemed funny and useless when I thought of it but somehow it turned out true:

Use [img] image-URL [/img] instead of <img src="image-URL" />

in HTML code in MyBB Smile