WordPress.org

Ready to get started?Download WordPress

Forums

Cache Images
Does not import any images (6 posts)

  1. RavanH
    Member
    Posted 3 years ago #

    After hitting Scan on Tools > Cache Remote Images, the plugin finds and reports several images from several domains. Then I click the Cache from this domain buttons after each of them and it reports the images are being cached (and then ...done.) All looks to be going well... but when I go and check the Media library, nothing new has been imported. Nor have any image URLs been altered in any posts.

    I should mention I am on a Multi-site install. There are no errors in my server logs. But the image URLs do not end in .jpg or .gif or anything. They are Typepad stored images that come in the form of: http://ardeche.blogs.com/.a/6a00d8345436ba69e201116905be68970c-800wi

    Could that be the problem?

    Thanks for any thoughts :)

  2. RavanH
    Member
    Posted 3 years ago #

    Ok, after adding else { error_log( $upload->get_error_message() ); } to cache-images.php line 502, I was able to catch the errors that occur during the process:

    ...
    [27-Mar-2011 00:12:45] Sorry, this file type is not permitted for security reasons.
    ...

    And there is my answer. The URL and therefore the file has no extension so it can never meet the "Upload file types" limitation (by extension) in Multi-site settings :(

    What to do?!

  3. Everio
    Member
    Posted 3 years ago #

    same problem...

  4. RavanH
    Member
    Posted 3 years ago #

    Found a solution: there is a feature in W3 Total Cache that allows import of files into the library under the CDN section.

    It's a bit similar to Cache Images with one crucial difference: you can define the allowed 'extension' including the dot. This means also without dot! And since all the image urls of the Typepad files end with -800w you can add the wildcard *-800w to the list of allowed file types :)

  5. Everio
    Member
    Posted 3 years ago #

    Thanks ;)

  6. Frederick Townes
    Member
    Posted 2 years ago #

    Perfect.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic