Basically I want to serve "made" images from the subdomain for one of my File Upload locations.
I've seen a couple of posts on how you can use ce-img to handle local sub domains but they weren't fully on my wavelength and hence haven't had the "light bulb" moment.
I have setup a sub domain where the folder lives at the primary domains root folder:
var/myhost/mywebsite/ = mysite.com
var/myhost/mywebsite/siteassets/ = assets.mysite.com
Have configured one of the 'file' paths to use the sub domain to upload images to and it works - upload myimage.jpg and it appears at assets.mysite.com/folder1/myimage.jpg
$config['ce_image_src_regex'] = array( 'http://assets.mysite.com/' => var/myhost/mywebsite/.'/' ); $config['ce_image_made_regex'] = array( '^/' => 'http://assets.mysite.com/' );
It seems no matter which configuration I use, it never really works, I've experimented that much I've now forgotten where I started.
Can someone enlighten me pls :)