In reply to room34.

Spot on! With the conditional my srcset matches the page protocol, nice green padlock.

Really that is a bug. The CMS should always match protocol when constructing links. It's not like the user has been daft enough to use hard coded links.

Thanks room34.