I tryied to define something:
`
$mysql_user = 'root';
$mysql_pass = 'root';
$mysql_host = 'localhost';
$mysql_database = 'zenphoto';
$UTF8 = '1';
$mysql_prefix = 'zp_';
$album_folder = '/album/';
$album_folder_class = 'std';
$server_protocol = 'http';
$version = '1.2.3';
$images_first_page = '';
$_zp_conf_vars = array("mysql_user" => $mysql_user, "mysql_pass" => $mysql_pass, "mysql_host" => $mysql_host, "mysql_database" => $mysql_database, "UTF-8" => $UTF8, "mysql_prefix"=> $mysql_prefix, "album_folder" => $album_folder, "album_folder_class" => $album_folder_class, "server_protocol" => $server_protocol, "version" => $version, "images_first_page" => $images_first_page);
global $_zp_conf_vars;
`
so if I print out the array (print_r($_zp_conf_vars)

I get the same output of the standalone zenphoto-as-plugin file: `Array ( [mysql_user] => root [mysql_pass] => root [mysql_host] => localhost [mysql_database] => zenphoto [UTF-8] => 1 [mysql_prefix] => zp_ [album_folder] => /album/ [album_folder_class] => std [server_protocol] => http [version] => 1.2.3 [images_first_page] => )`
but now I get this error and no output images
`Warning: Invalid argument supplied for foreach() in /[…]/zenphoto/zp-core/functions.php on line 97
Fatal error: Call to a member function convert() on a non-object in /[…]/zenphoto/zp-core/functions-basic.php on line 793`