Auto ThickBox Plus
Breaks SSL (3 posts)

  1. Todd - WireFlare
    Posted 2 years ago #

    The loadingAnimation.gif used in the plugin is breaking ssl and being forced loaded via http.

    To solve this, as a temporary fix, was to remove the loadingAnimation all together by removing line 147 from auto-thickbox.php

    A fix for this would be nice!


  2. JarkkoL
    Posted 2 years ago #

    I'm having the same issue. Any fixes for this?

  3. JarkkoL
    Posted 2 years ago #

    I made the following fix, not sure if that's any good, but it solved the problem for me:

    $protocol = is_ssl() ? "https:" : "http:";
    $l10n = array(
    	'next' => $this->texts['next'],
    	'prev' => $this->texts['prev'],
    	'image' => $this->texts['image'],
    	'of' => $this->texts['of'],
    	'close' => $this->texts['close'],
    	'noiframes' => $this->util->__('This feature requires inline frames. You have iframes disabled or your browser does not support them.'),
    	'loadingAnimation' => $this->options['img_load'] != 'none' ? str_replace( "http:", $protocol, $this->options['img_load'] ) : $this->options_def['img_load'],
    	'closeImage' => $this->options['img_close_btn'] != 'none' ? str_replace( "http:", $protocol, $this->options['img_close_btn'] ) : $this->options_def['img_close_btn']

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Auto ThickBox Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic