Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ajay

    (@ajay)

    Can you post your blog url / post url? Is your site on an https as well?

    Can you delete lines 1011 and 1013 in top-10.php file?

    i.e. these two lines

    if (((strpos($matches[1][0], parse_url(get_option('home'),PHP_URL_HOST)) !== false) && (strpos($matches[1][0], 'http://') !== false))|| ((strpos($matches[1][0], 'http://') === false))) {

    and

    }

    Do not delete 1012, i.e.

    $postimage = preg_replace('/\?.*/', '', $matches[1][0]); // we need the first one only!
    Thread Starter Doug

    (@nicoblog)

    Hi! That seem to have solved the problem.
    I use all kind of external image hostings like google drive, piacasa/g+ albums, flickr, imageshack, etc.

    And i had this problem it would only pick up the first image if it was hosted on google drive/picasa/g+ and no other image hosting.

    With that change it now accepts all hostings, which is amazing cos i’m not forced to use google anymore (it has a monthly bandwidth limit).

    Thanks a lot!

    Plugin Author Ajay

    (@ajay)

    Thanks for confirming. I’m going to remove those two lines in the next version.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘it won't pick 1st image unless it's https’ is closed to new replies.