Title: [Plugin: Simple Local Avatars] SSL Issues
Last modified: August 20, 2016

---

# [Plugin: Simple Local Avatars] SSL Issues

 *  [weslinda](https://wordpress.org/support/users/weslinda/)
 * (@weslinda)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-simple-local-avatars-ssl-issues/)
 * When utilizing SSL in an installation. Both in the admin and the visitor side
   of things, the icons are called insecurely.
 * Is there a fix out there for this?
 * [http://wordpress.org/extend/plugins/simple-local-avatars/](http://wordpress.org/extend/plugins/simple-local-avatars/)

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

 *  Thread Starter [weslinda](https://wordpress.org/support/users/weslinda/)
 * (@weslinda)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-simple-local-avatars-ssl-issues/#post-3040374)
 * We are using the force SSL setting in the WordPress configuration file to define
   this. Not sure what the right way to pull images are, but it would be nice to
   have a fix.
 * Other plugins and WordPress itself pull images just fine. Not sure what is missing.
 *  Plugin Contributor [Jake Goldman](https://wordpress.org/support/users/jakemgold/)
 * (@jakemgold)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-simple-local-avatars-ssl-issues/#post-3040384)
 * Well, the plug-in uses the “site_url()” function to generate URLs for the avatars.
   Presumably, an SSL plug-in would hook into that. Any idea what other plug-ins
   do?
 *  Thread Starter [weslinda](https://wordpress.org/support/users/weslinda/)
 * (@weslinda)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-simple-local-avatars-ssl-issues/#post-3040385)
 * Hey Jake,
 * I’m not sure how others do it, but what’s going on is it’s not pulling the SSL
   link to the image. Keeps it at http://
 *     ```
       <li id="wp-admin-bar-my-account" class="menupop with-avatar"><a class="ab-item"  aria-haspopup="true" href="https://www.hopkinsarthritis.org/wp-admin/profile.php" title="My Account">Howdy, Arthritis Center<img alt='Arthritis Center' src='http://www.hopkinsarthritis.org/wp-content/uploads/2011/11/Arthritis-Center_avatar-16x16.png' class='avatar avatar-16 photo' height='16' width='16' /></a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-user-actions" class="ab-submenu">
       		<li id="wp-admin-bar-user-info"><a class="ab-item" tabindex="-1" href="https://www.hopkinsarthritis.org/wp-admin/profile.php"><img alt='Arthritis Center' src='http://www.hopkinsarthritis.org/wp-content/uploads/2011/11/Arthritis-Center_avatar-64x64.png' class='avatar avatar-64 photo' height='64' width='64' /><span class='display-name'>Arthritis Center</span><span class='username'>weslinda</span></a>		</li>
       ```
   
 * The site URL is input as HTTP because we don’t force SSL on the entire site. 
   We force SSL in the admin area, and I believe that if I force for the entire 
   site, it still calls the http:// version of the link.
 * Not sure how WordPress itself does it, but it seems to call other images in the
   admin properly. Wish I knew more about how to code this properly, I’d drop in
   an answer as quickly as I could figure it out, unfortunately, I’m a design guy,
   not really a developer guy.
 *  [kremalicious](https://wordpress.org/support/users/kremalicious/)
 * (@kremalicious)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/plugin-simple-local-avatars-ssl-issues/#post-3040417)
 * same problem over here.
 * I think the problem may be caused by using `wp_get_attachment_url` here: [http://plugins.trac.wordpress.org/browser/simple-local-avatars/trunk/simple-local-avatars.php#L316](http://plugins.trac.wordpress.org/browser/simple-local-avatars/trunk/simple-local-avatars.php#L316)
 * As you can see in this 3 YEAR OLD ticket, `wp_get_attachment_url` doesn’t check
   for SSL:
    [http://core.trac.wordpress.org/ticket/15928](http://core.trac.wordpress.org/ticket/15928)

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

The topic ‘[Plugin: Simple Local Avatars] SSL Issues’ is closed to new replies.

 * ![](https://ps.w.org/simple-local-avatars/assets/icon.svg?rev=2783752)
 * [Simple Local Avatars](https://wordpress.org/plugins/simple-local-avatars/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-local-avatars/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-local-avatars/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-local-avatars/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-local-avatars/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-local-avatars/reviews/)

## Tags

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

 * 4 replies
 * 3 participants
 * Last reply from: [kremalicious](https://wordpress.org/support/users/kremalicious/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/plugin-simple-local-avatars-ssl-issues/#post-3040417)
 * Status: not resolved