WordPress.org

Forums

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

  1. gsibert
    Member
    Posted 1 year 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 1 year ago #

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

  3. nfuller52
    Member
    Posted 1 year 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 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Alpine PhotoTile for Instagram
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.