Support » Plugin: Cache Images » link href and img src mismatch after using Cache Images

  • Hi,
    I love this plugin, and its been a huge help in a massive import I did from blogger. After using “Scan (including linked)” some of the generated html is not quite right. For example:

    <a href=""><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 164px; height: 251px;" src="" alt="" id="BLOGGER_PHOTO_ID_5306768463834252178" border="0"></a>

    Other times there is an additional 2 before the extension. Other times there is a 21.

    As you can see, the href and src don’t agree. The href is right. Has this bug been encountered before? Suggestions for how to fix?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Milan Dinić


    I can’t open second URL so I don’t know if it worked or not, but if it worked, most probably reason for this was that picture was imported twice, first when it searched for pics that were linked and then when searched for pictures that are embedded. It adds number at the end of file name because there is already image with that name.

    In cases like this you should first run simple scan which will replace all occurrences of URL, no matter if used as href or src, and then advanced scan.

    i’ll second this – running into the same issues cacheing images with a couple of sites – specifically ones hosted on blogspot.

    will see if i can hack a fix.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘link href and img src mismatch after using Cache Images’ is closed to new replies.