Forums

Broken images when published (5 posts)

  1. rockymtnhiway
    Member
    Posted 2 years ago #

    Images show up okay when I upload (in Media Library), and in the blog before (edit posts), but when published images are broken. Image actually "pops up" for a moment, then is replaced by brokenn image holder page is http://www.rockymountainhighway.com/wordpress

  2. ClaytonJames
    Member
    Posted 2 years ago #

    Disable the events calendar plugin and see if the problem goes away.
    If it does, you might find something helpful in this link.

    http://wordpress.org/support/topic/308254?replies=8

  3. akerbak
    Member
    Posted 1 year ago #

    I have the exact same problem, but doesn't have the events calendar plugin installed...

    When publishing an article, I get a bunch of "s in the source code, replacing the image url.

    When inserting an image into a post, I get the following code:
    <a href="http://odin-media.net/marius/wp3test/wp-content/uploads/2010/08/pp-logo.jpg"><img class="alignleft size-full wp-image-11" title="pp-logo" src="http://odin-media.net/marius/wp3test/wp-content/uploads/2010/08/pp-logo.jpg" alt="" width="200" height="287" /></a>

    but then I press the "publish"-button, and by magic, the HTML output is

    <a href=\"http://odin-media.net/marius/wp3test/wp-content/uploads/2010/08/pp-logo.jpg\"><img class=\"alignleft size-full wp-image-11\" title=\"pp-logo\" src=\"http://odin-media.net/marius/wp3test/wp-content/uploads/2010/08/pp-logo.jpg\" alt=\"\" width=\"200\" height=\"287\" /></a>

    Please note that this is when having HTML-view activated. If I go to VISUAL-view, and press the "publish" (or now "update")-button, the HTML output for the image is

    <a href="\"><img class="\&quot;\\&quot;alignleft\&quot;" title="\&quot;\\&quot;pp-logo\\&quot;\&quot;" src="\" alt="\&quot;\\&quot;\\&quot;\&quot;" width="\&quot;\\&quot;200\\&quot;\&quot;" height="\&quot;\\&quot;287\\&quot;\&quot;" /></a>

    Does anyone have an idea on where I can fix this? I assume there is a function printing or converting the URLs that must be fixed? any help is much appreciated!

  4. spherical
    Member
    Posted 1 year ago #

    Any other plugins related to post editing running? I've had a couple that messed with my code like this.

    Also, do you switch back and forth between the Visual and HTML editors? Unsure if it's better in WP3 but it wasn't recommended to do that in earlier versions. Code gets messed up. I just turn the Visual editor off completely in Profile Settings. Life's been a lot smoother since.

  5. akerbak
    Member
    Posted 1 year ago #

    No plugins at all, a completely fresh new installation without any plugins installed (or activated from the two implemented in the basic installation.

    I've only switched between editors to explore this problem, basically. Try to stick with the visual, since this is the editor most of our clients are using. But - even when not switching between editors the above mentioned HTML output change occur.

Topic Closed

This topic has been closed to new replies.

About this Topic