• It seems that when I’m writing a new post, and I hit the “Picture” button, it spits out:
    <!– src=”picture.jpg” cap=”caption” –>
    And when I check out the post, there is no picture. I tried adding wp:pic to the line like so:
    <!– wp:pic src=”picture.jpg” cap=”caption” –>
    But still, nothing happens.
    Adding a thumbnail works perfectly fine, just adding a picture isn’t working. Anybody else having this problem?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter Anonymous

    Sorry, I forgot the code function, it spits out
    <!-- src="picture.jpg" cap="caption" -->
    I tried adding wp:pic to the line like so:
    <!-- wp:pic src="picture.jpg" cap="caption" -->

    Thread Starter Anonymous

    alright, let me try this take 3.
    spits out: <!-- src="source.jpg" cap="caption" -->
    added: <!-- wp:pic src="source.jpg" cap="caption" -->

    Thread Starter Anonymous


    spit out: <!-- src="source.jpg" cap="caption" -->
    added: <!-- src="source.jpg" cap="caption" -->

    Thread Starter Anonymous

    Ah forget it.

    Well, view source helped me figure out part of what was going wrong there, and it should be fixed in the lastest bug fix version:
    https://www.ali-hassan.net/index.php/archives/2004/09/01/thumb-in-post-version-09/

    Thread Starter Anonymous

    Thanks a bunch!

    A few more corrections to make it validate are:
    In the .php file, beginning with “thumb in post starts…
    find the code:
    //Now generate the html code to insert the image into the page
    // attach an id (from $attributeValue[‘DivId’]) to the divstart to give it a unique identity
    $divstart = $thumbinpostSettings[“ThumbDivStart”].’ ‘.$attributeValue[“DivClass”].'”
    id=”‘.$attributeValue[“DivId”].'” >’;
    and change ‘.$attributeValue[“DivClass”].'” to read ‘.$attributeValue[“DivClass”].’
    Secondly: beginning with “Pic in Post starts here…
    find the code:
    //Now generate the html code to insert into the page
    // attach an id (from $attributeValue[‘DivId’]) to the divstart to give it a unique identity
    $divstart = $thumbinpostSettings[“PictureDivStart”].’ ‘.$attributeValue[“DivClass”].'” id=”‘.$attributeValue[“DivId”].'” >’;
    change ‘.$attributeValue[“DivClass”].'” to read ‘.$attributeValue[“DivClass”].’
    You had an extra quotation mark in there. That’s it.

    Actually, that quote mark is meant to be there. The problem is in the config file.
    See my site for details:
    https://www.ali-hassan.net/index.php/archives/2004/09/05/thumb-in-post-version-093/

    Are there instructions for install? I assume the php goes in the admin content/plugins… the cfg goes?

    I figured out by opening the php file and seeing where it was calling the cfg from the plugin folder. So, figured that out.
    Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Thumb In Post problem’ is closed to new replies.