Viewing 2 replies - 1 through 2 (of 2 total)
  • I noticed it also does not detect images of this type:
    https://lh3.googleusercontent.com/oUfME_v71MS9OYRC3SDEp-l3nqGrl7ZDreEapx732A=w352-h82-no

    It would be great if it did! Thanks for the great plugin.

    I could get this problem solved by making two modifications in the source: In the file import-external-images.php of the plugin, find the function is_external_file and change

    $ext = substr( $file , -4 );

    to

    $file_spl = explode('?',$file)[0];
    $ext = substr( $file_spl , -4 );

    In the same file, find the function external_image_get_img_tags and change

    $path_parts = pathinfo($uri);

    to

    $uri_spl = explode('?',$uri)[0];
    $path_parts = pathinfo($uri_spl);

    Good luck

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can't import images which are queries’ is closed to new replies.