--
I have a website that is installed on multiple servers, only difference is the config.php file. This is how I test updates, etc. The introduction of SmartImage caused some issues on all my servers as src="/uploads.." is not supperted. also described here viewtopic.php?f=7&t=82989
I then started using {uploads_url} as suggested by Digi. Today I realised that this does not work on my test server, as SmartImage refuses to output anything with a self-signed certificate. I then set $config['uploads_url'] as http://... but that still failed.
I finally found the method in class.cms_config which checks how the request is made, and if the request comes via https, it returns ssl_uploads_url.
So, by setting
in my test environment, I managed to get it to work.$config['ssl_uploads_url'] = 'http://...';