• So I’m using 1.5.2 now, and though my img html appears in the edit view in admin, the code itself is not there when I view the site, ie if I do blahblah [img /] blah blah, the rendered html is blahblah blah blah. Any ideas?

Viewing 4 replies - 1 through 4 (of 4 total)
  • To view the image you will have to enter the image tag properly, with the correct image address. Evidentally you haven’t.

    Thread Starter achromat

    (@achromat)

    The image tag is definitely correct:

    <img src="http://www.autographworld.com/catalog/wholesale/thomas_marlo.jpg" alt="" />

    This would also not explain why the actual code above is not visible in the source code of the final site (using the default unmodified templates).

    Sounds like the page you are looking at has the_excerpt(). If you want the full post, including images, change the code from the_excerpt() to the_content().

    In the future it would be helpful if you provided a link so we don’t have to dance around the problem (albeit the title should have clued me in – just had my coffee and noticed it).

    The standard theme for WordPress does this. It’s very annoying actually.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Image code stripped from html’ is closed to new replies.