> should be bigger than $mgConf['gpp'] and a multiple of it! $mgConf['tpp'] = 12; // FTP create directory for 'SAFE_MODE = on' workaround (new folder permissions not set to '0777') // this may be the issue if MyGallery makes the gallery folders, but you cannot upload images to new galleries $mgConf['ftp_mkdir'] = false; // set to 'true' to use SAFE_MODE workaround using ftp to create new folders because your server is in 'SAFE_MODE' - set to 'false' for default use of PHP's 'mkdir' function $mgConf['ftpserver'] = "localhost"; // ftp server address - 'localhost' should work for most web servers $mgConf['ftpuser'] = "username"; // ftp username $mgConf['ftppass'] = "password"; // ftp password $mgConf['ftpimagepath'] = "path/to/images/"; // directory path from ftp root to MyGallery 'images' folder // language settings $txtadmin= htmlentities("Admin"); $txtnextslide= htmlentities("Wait ".$mgConf['slideshowtime']." seconds or"); $txtclickpic= htmlentities("Click on the picture to get to the next one"); $txtback= htmlentities("Back to the Index"); $txtlogin= htmlentities("Login"); $txtpass= htmlentities("Password"); $txtlogout= htmlentities("Logout"); $txtnewgal= htmlentities("Creating New Gallery"); $txtzipdesc= htmlentities("To upload a new gallery you first have to put all photos together into a ZIP archive that you can upload afterwards. Except you just want to have a single picture in it"); $txtgalname= htmlentities("Gallery Name"); $txtselzip= htmlentities("Select a ZIP archive or a single picture (JPG) for uploading"); $txtbuild= htmlentities("Build"); $txtexgals= htmlentities("Existing Galleries"); $txtedit= htmlentities("edit"); $txtdelete= htmlentities("delete"); $txtasktodel= htmlentities("Do you really want to delete this gallery?"); $txtnodir= htmlentities("Couldn't create a new folder (check permissions!)"); $txtnochmod= htmlentities("Could not change the permissions for the new folder"); $txtnozip= htmlentities("No ZIP archive or picture selected or empty name field!"); $txtnoname= htmlentities("Empty name field!"); $txtname= htmlentities("Name"); $txtup= (""); $txtdown= (""); $txtediting= htmlentities("Editing Gallery"); $txtcaption= htmlentities("Caption"); $txtfilename= htmlentities("Filename"); $txtadd= htmlentities("Add"); $txtaddpicscap= htmlentities("Adding Picture(s)"); $txtaddpics= htmlentities("Select a single picture or a ZIP archive that you 'd like to add to this gallery"); $txtsavechange= htmlentities("Save Changes"); $txtsavedchanges=htmlentities("Changes saved"); $txtdescription=htmlentities("Description"); $txtviewthisgal=htmlentities("View the {gallery} Gallery!"); $txtfirstpage= htmlentities("«««"); $txtprevpage= htmlentities("««"); $txtnextpage= htmlentities("»»"); $txtlastpage= htmlentities("»»»"); $txtpicture = htmlentities("Picture"); $txtpictureof = htmlentities("of"); $txtcontinueslideshow = htmlentities("Continue Slideshow"); $txtincludewatermark = htmlentities("include watermark"); // ******************** INIT LIGHTBOX & STYLE DEFs ******************** // ******************************************************************** if ($mgRef != "JS"){ ?>