WordPress.org

Ready to get started?Download WordPress

Forums

Alpine PhotoTile for Instagram
[resolved] SSL for images (4 posts)

  1. gsibert
    Member
    Posted 9 months ago #

    Hello, nice work on this plugin!! I was wondering how to have the images load via ssl, so the src has https:// instead of http:// . This way I can keep the ssl info green :)

    http://wordpress.org/plugins/alpine-photo-tile-for-instagram/

  2. Bumpas
    Member
    Posted 8 months ago #

    This would be a nice feature to add to the plugin. Are there any updates on this?

  3. nfuller52
    Member
    Posted 5 months ago #

    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 :P

    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');
    }
  4. theAlpinePress
    Member
    Plugin Author

    Posted 4 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.