Title: HTTPS please
Last modified: August 21, 2016

---

# HTTPS please

 *  [Matt Cromwell](https://wordpress.org/support/users/webdevmattcrom/)
 * (@webdevmattcrom)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/https-please/)
 * Can you update your code to load as https? The plugin is causing mixed content
   errors in ecommerce sites. Thanks!
 * [http://wordpress.org/plugins/wp-fluid-images/](http://wordpress.org/plugins/wp-fluid-images/)

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

 *  Thread Starter [Matt Cromwell](https://wordpress.org/support/users/webdevmattcrom/)
 * (@webdevmattcrom)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/https-please/#post-4305492)
 * I found this topic on the subject:
    [http://wordpress.org/ideas/topic/wp_plugin_url-doesnt-take-ssl-into-account](http://wordpress.org/ideas/topic/wp_plugin_url-doesnt-take-ssl-into-account)
 * Would be great to see this fixed in your otherwise excellent plugin.
 *  Thread Starter [Matt Cromwell](https://wordpress.org/support/users/webdevmattcrom/)
 * (@webdevmattcrom)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/https-please/#post-4305494)
 * OK, I just went and figured out the fix myself. If anyone else would like to 
   avoid “mixed content” warnings for sites that use SSL and want to use this plugin
   the fix is pretty easy:
 * Go into wp-fluid-images/plugin.php and find this at line 19(ish)
 *     ```
       if ( !is_admin() ) { // instruction to only load if it is not the admin area
       		$foo_loc = WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__));
       		$js_loc = $foo_loc . '/lib/';
       		wp_register_script('fluidimage', $js_loc.'fluidimage.js', array('jquery'), '1.0',false);
       		wp_enqueue_script('fluidimage');
       	}
       ```
   
 * Change it to this and you’ve got your green padlock back!
 *     ```
       if ( !is_admin() ) { // instruction to only load if it is not the admin area
       		$js_loc = plugins_url( 'lib/', __FILE__ );
       		wp_register_script('fluidimage', $js_loc.'fluidimage.js', array('jquery'), '1.0',false);
       		wp_enqueue_script('fluidimage');
       	}
       ```
   
 * Hope that’s useful for someone!
 *  [Svetoslav Marinov](https://wordpress.org/support/users/lordspace/)
 * (@lordspace)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/https-please/#post-4305531)
 * cool

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

The topic ‘HTTPS please’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-fluid-images_6b6b6b.svg)
 * [WP Fluid Images](https://wordpress.org/plugins/wp-fluid-images/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-fluid-images/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-fluid-images/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-fluid-images/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-fluid-images/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-fluid-images/reviews/)

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [SSL](https://wordpress.org/support/topic-tag/ssl/)

 * 3 replies
 * 2 participants
 * Last reply from: [Svetoslav Marinov](https://wordpress.org/support/users/lordspace/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/https-please/#post-4305531)
 * Status: not resolved