Cache Images
link href and img src mismatch after using Cache Images (3 posts)

  1. two7s_clash
    Posted 4 years ago #

    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="http://www.mbird.com/wp-content/uploads/2011/04/psycho_blanket.jpg"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 164px; height: 251px;" src="http://www.mbird.com/wp-content/uploads/2011/04/psycho_blanket1.jpg" 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?

  2. Milan Dinić
    Plugin Author

    Posted 4 years ago #

    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.

  3. gekido
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Cache Images
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic