Forums

[resolved] img tags being stripped (2 posts)

  1. redsparklabs
    Member
    Posted 1 year ago #

    This is a clean install of WP 3.0.1. I am working with a half complete custom theme.

    http://vps.brazosit.com/~storiedf/

    Link to pic: http://vps.brazosit.com/~storiedf/wp-content/uploads/Charlie-Event-Shooting-300x200.jpg

    When I upload the image, it shows in the post. However when I view the post on the site, the image is not displayed. Not only is the image not displayed, but the img tags are not even being generated in the source code. I have also tried linking to another image from another site and same result. Just to be sure I double checked the permissions and everything is good. I also verified that the file is actually in the folder.

    I reactivated the default 2010 theme and the images show up. I do not have any funky code in my theme. Basic-(index.php, header.php, footer.php and sidebar.php). I have tried deactivating all plugins and have renamed the functions.php to eliminate any widget weirdness. I even commented out the wp_head and wp_footer, with no change.

    Any thoughts or suggestions before I reinstall WP?

  2. redsparklabs
    Member
    Posted 1 year ago #

    Resolved the issue. Always the simple things we overlook.

    I was still using the_excerpt() in index.php. Once I replaced it with the_content() all was right in the world.

Topic Closed

This topic has been closed to new replies.

About this Topic