• I’m a new user, and just started to try to add images.

    So I added a GIF image to this:
    http://www.futureatlas.com/blog/?p=14

    I get four different results, depending on browser:

    1) Netscape — image looks fine

    2) home Internet Explorer: — bits of visible html code around the image:
    <!–[if !vml]–>
    [the picture]
    <!–[endif]–>

    3) work IE — just the code bits, no image

    4) Firefox — nothing at all shows up

    What’s going on, and what can I do?

    Thanks,

    Josh

Viewing 4 replies - 1 through 4 (of 4 total)
  • http://www.futureatlas.com/Ukraine%20EU.gif

    is loading fine in FF
    and no other images are being reported as broken

    I see the images in Firefox. Internet Explorer 7 Beta 2[1]
    shows the comment tags Josh mentioned.

    The problem is that the first one is broken. Looking at the source, it looks like this:

    <!--[if gte vml 1]>

    Without the --> at the end, the comment isn’t closed, or recognised as a comment, which is why some browsers are displaying it.

    Question: Josh, what are you using to create/insert these images? There’s some very odd code in there that I wouldn’t expect from just inserting an image…

    [1] Brave? Me?

    Thread Starter futat

    (@futat)

    Thanks for the replies.

    I created the graphic in Word (problematic, I know) and converted it to a GIF with a Windows-based process.

    As of my original message, I had copied the file to clipboard and pasted it in. The odd code may be vestiges of that creation and paste process (and I can’t get WordPress to show me HTML code in the post-creation process).

    Second try, after my query, I uploaded the GIF as a file and gave the URL. This seemed to give better results, but there are still those bits of code floating around.

    I’m just getting used to WP. What I do to get an image in a post is:

    Start a new post
    Hit upload and upload an image
    Click on the thumbnail that appears, release, and then click on “send to editor”.
    Then, using the HTML editor, add image attributes such as class=”alignleft” or class=”alignright”.

    Works for me. I didn’t find the image interface very intuitive and I’ve had to play around with it to get this far.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘images show up with html code, or not at all’ is closed to new replies.