WordPress.org

Ready to get started?Download WordPress

Forums

Thumb in Post not validating (14 posts)

  1. Randyd
    Member
    Posted 9 years ago #

    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

  2. Beel
    Member
    Posted 9 years ago #

    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.

  3. Mark (podz)
    Support Maven
    Posted 9 years ago #

    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.

  4. Randyd
    Member
    Posted 9 years ago #

    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?

  5. Mark (podz)
    Support Maven
    Posted 9 years ago #

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

  6. Randyd
    Member
    Posted 9 years ago #

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

  7. Mark (podz)
    Support Maven
    Posted 9 years ago #

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

  8. Randyd
    Member
    Posted 9 years ago #

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

  9. Randyd
    Member
    Posted 9 years ago #

    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

  10. Mark (podz)
    Support Maven
    Posted 9 years ago #

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

  11. Randyd
    Member
    Posted 9 years ago #

    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

  12. Mark (podz)
    Support Maven
    Posted 9 years ago #

    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 :)

  13. Randyd
    Member
    Posted 9 years ago #

    Made the change but still getting 5 errors

  14. Randyd
    Member
    Posted 9 years ago #

    Any more feedback to this?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.