Clive Portman: code

ExpressionEngine CE Image addon config when working from IP address

Add the following to ExpressionEngine's config file:

// CE_image config
$config['ce_image_src_regex'] = array( 'http://123.123.123.123/~username' => '/home/username/public_html/' );
$config['ce_image_made_regex'] = array( '^/' => '/~username/' );
$config['ce_image_document_root'] = '/home/username/public_html/';