• I’m still testing my site. I Installed the new plug in and everything seems to work fine. My page validates as XHTML before I added a picture with the Thumb in Post plugin. But after using it, the page doesn’t validate as XHTML. I get a few errors. If you want to see go to http://www.triplethreats.net/blog/wordpress/index.php and then click the validate link at the lower right. Is there something wrong in your code or should I do something else?
    Thanks everyone
    Randy

Viewing 13 replies - 1 through 13 (of 13 total)
  • You have two classes in one tag and instead of using </img> just close out the image with <img blah-blah-blah />. That will fix a couple of errors.

    They look like editing errors.
    <img tags are closed by /> not </img>
    And the class error is due to duplication – there is one right before it.
    Did the code alone produce that input ? If so, you’ll have to correct it each time.

    Thread Starter randyd

    (@randyd)

    Yah, I simply installed the plugin and the code does it every time. My user’s won’t know what’s going on and they won’t know how to fix it each time they post.
    Any suggestions?

    Two:
    1 – Contact the author and request xhtml valid code
    2 – Open the plugin and replace the faulty output with compliant code.
    Sorry …

    Thread Starter randyd

    (@randyd)

    That means the thumb-in-post.php file?
    I’m not sure where in the file to hack.

    http://paste.uni.cc/
    Paste the file in there, and put the url you get here, then we can have a look 🙂

    Thread Starter randyd

    (@randyd)

    Ok, give me 20 minutes or so and then check back
    thanks much

    Thread Starter randyd

    (@randyd)

    http://paste.uni.cc/1790
    There’s the URL of the Thumb-in-post9.php
    Let me know what you did here and give me your new post URL
    Thanks, I really appreciate it.
    It great to get support from you
    Randyd

    line 311:
    $attributeValue["Height"].'"></img>';
    should be
    $attributeValue["Height"].'"/>';
    Can’t see where the extra empty class fell in yet …

    Thread Starter randyd

    (@randyd)

    FYI:
    There is also a Thumb-in-post.cfg file in the directory.
    I don’t know if that makes a difference.
    Let me know if you need to see that as well.
    Thanks
    Randy

    Try making that alteration above ?
    Then we can check the errors down one by one.
    It’s that extra class I still can’t see, but I’m sure Beel will be by soon 🙂

    Thread Starter randyd

    (@randyd)

    Made the change but still getting 5 errors

    Thread Starter randyd

    (@randyd)

    Any more feedback to this?

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Thumb in Post not validating’ is closed to new replies.