Support » Plugin: Alpine PhotoTile for Instagram » SSL for images

Viewing 3 replies - 1 through 3 (of 3 total)
  • This would be a nice feature to add to the plugin. Are there any updates on this?

    I don’t know if this is the proper place for it, but this worked for me… and it may work for you too. Hope it helps anyone else! Remember this is a nasty hack 😛

    gears/alpinebot-display.php:1051

    I replaced:

    $src = $this->get_photo_info($i,'image_source');

    With:

    if ( is_ssl() ) {
        $src = str_replace("http", "https", $this->get_photo_info($i,'image_source'), $temp = 1);
    } else {
        $src = $this->get_photo_info($i,'image_source');
    }

    Plugin Author theAlpinePress

    (@thealpinepress)

    I have added this as an option on the “Plugin Settings” page. Let me know if there are any problems.
    Best, Eric

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘SSL for images’ is closed to new replies.