RealURL mit lz_gallery

Da ich im Internet nur Konfigurationen für lz_gallery gefunden habe, bei denen RealURL bei Subgallerien versagt, hier einmal meine Konfiguration:

$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tstemplate.php']['linkData-PostProc'][] = 'EXT:realurl/class.tx_realurl.php:&tx_realurl->encodeSpURL';
$TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['checkAlternativeIdMethods-PostProc'][] = 'EXT:realurl/class.tx_realurl.php:&tx_realurl->decodeSpURL';
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']['tx_realurl_urldecodecache'] = 'tx_realurl_urldecodecache';
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']['tx_realurl_urlencodecache'] = 'tx_realurl_urlencodecache';

    $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array( 
        'pagePath' => array(
            'type' => 'user',
            'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
            'spaceCharacter' => '-',
            'languageGetVar' => 'L',
            'enableDomainLookup' => 1,
            'expireDays' => 90,
            /*von mir start - wenn aktiviert tut das backend nicht mehr...
            'segTitleFieldList' => 'tx_realurl_pathsegment,alias,nav_title,title',
                //necessary for autoUpdatePathCache
            'disablePathCache' => 0,
            'autoUpdatePathCache' => 1,
            von mir ende*/
        ),
    //von mir start
    'fixedPostVarSets' => array(),
    'postVarSets' => array(
        '_DEFAULT' => array (
            'album-page' => array(
                array(
                    'GETvar' => 'tx_lzgallery_pi1[pointer]',
                ),
            ),
            'subalbum' => array (
                array (
                    'GETvar' => 'tx_lzgallery_pi1[subg]',
                    'lookUpTable' => array (
                        'table' => 'tx_lzgallery_galleries',
                        'id_field' => 'uid',
                        'alias_field' => 'title',
                        'addWhereClause' => ' AND NOT deleted',
                        'useUniqueCache' => '1',
                        'useUniqueCache_conf' => array (
                            'strtolower' => '1',
                            'spaceCharacter' => '-',
                        ),
                    ),
                ),
            ),
            'album' => array (
                array (
                    'GETvar' => 'tx_lzgallery_pi1[showUid]',
                    'lookUpTable' => array (
                        'table' => 'tx_lzgallery_galleries',
                        'id_field' => 'uid',
                        'alias_field' => 'title',
                        'addWhereClause' => ' AND NOT deleted',
                        'useUniqueCache' => '1',
                        'useUniqueCache_conf' => array (
                            'strtolower' => '1',
                            'spaceCharacter' => '-',
                        ),
                    ),
                ),
            ),
            'previous-album' => array(
                array(
                    'GETvar' => 'tx_lzgallery_pi1[old]',
                ),
            ),
            'view-mode' => array(
                array(
                    'GETvar' => 'tx_lzgallery_pi1[colrows]',
                ),
            ),
            'photo' => array(
                array(
                    'GETvar' => 'tx_lzgallery_pi1[pic]',
                ),
            ),
        ),
    ),
    //von mir ende
        'fileName' => array (
            'defaultToHTMLsuffixOnPrev'=> 1
        ),
    );