<p>ok - just figured it out after reading Brandon's answer here <a href="https://craftcms.stackexchange.com/questions/11797/asset-urls-not-https">Asset URLs not HTTPS</a></p>

<p>The missing piece was to set the url setting of the asset source to root relate e.g. <code>/uploads/images</code></p>

<p>Clear the cache and all sorted!</p>

CC BY-SA 3.0
2017-07-27T22:52:48.450Z
Spot on, the asset source URL change did the trick (under `/admin/settings/assets/sources/X`)
Greg Annandale
CC BY-SA 4.0
2019-01-29T19:38:29.227Z
Also please see an additional step you may need, in https://craftcms.stackexchange.com/a/29300/85
narration_sd
CC BY-SA 3.0
2016-03-01T05:50:29.887Z
2016-03-01T05:50:29.887Z
2017-04-13T12:51:00.160Z
Dave Coggins
<p>I'm trying to get rid mix content warnings for https connection. The SSL certificate is installed and working fine but my image transforms are being requested over http hence the warning messages.</p>

<p>Looking into the docs I have tried:</p>

<pre><code>url={{image.getUrl(thumb, null, 'https')}}
</code></pre>

<p>But that didn't seem to make a difference. Has anyone encountered this issue before?</p>

<image-transforms><ssl>
Ensuring Image transforms use https
# Ensuring Image transforms use https

(Asked by: username_0 on 2016-03-01)

I'm trying to get rid mix content warnings for https connection. The SSL certificate is installed and working fine but my image transforms are being requested over http hence the warning messages.
Looking into the docs I have tried:
url={{image.getUrl(thumb, null, 'https')}}

But that didn't seem to make a difference. Has anyone encountered this issue before?

**Tags:** image-transforms, ssl

---

## 1 answers

### Answer by username_0 on 2016-03-01. Score: 2

ok - just figured it out after reading Brandon's answer here [Asset URLs not HTTPS](https://craftcms.stackexchange.com/questions/11797/asset-urls-not-https)

The missing piece was to set the url setting of the asset source to root relate e.g. `/uploads/images`

Clear the cache and all sorted!

> **Comments:**
> **username_1**: Spot on, the asset source URL change did the trick (under `/admin/settings/assets/sources/X`)  
> **username_2**: Also please see an additional step you may need, in https://craftcms.stackexchange.com/a/29300/85  

---

