The problem for fckgLite is the security setup, that directories are not where fckgLite expects them to be. So it can't auto-detect.
Here is what you should do:
1. Do NOT set $winstyle to true. (If $winstyle is set to true, then the /userfiles directory is by-passed, but you need the userfiles directory to be active for your media setup).
2. Go to the fckg/fckeditor/userfiles directory and assign all of the links to your Dokuwiki media directory (you've already done this).
3. In config.php, make the following changes (beginning at line 138):
setupBasePathsWin();
if($dwfck_local) {
//$Config['UserFilesPath'] = str_replace('/media', '/pages', $Config['UserFilesPath']);
$Config['UserFilesPath'] = $Dwfck_conf_values['savedir']. 'pages/';
if($isWindows) {
$Config['UserFilesAbsolutePath'] = str_replace('\\media', '\\pages', $Config['UserFilesAbsolutePath']);
}
else {
// $Config['UserFilesAbsolutePath'] = str_replace('/media', '/pages', $Config['UserFilesAbsolutePath']);
$Config['UserFilesAbsolutePath'] = $Dwfck_conf_values['savedir']. 'pages/';
}
}
What you are doing here is commenting out the default $Config path values and setting them to your new savedir.