Blame | Last modification | View Log | Download
<?php// +-----------------------------------------------------------------------+// | PhpWebGallery - a PHP based picture gallery |// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |// | Copyright (C) 2003-2005 PhpWebGallery Team - http://phpwebgallery.net |// +-----------------------------------------------------------------------+// | branch : BSF (Best So Far)// | file : $RCSfile: faq.lang.php,v $// | last update : $Date: 2005/03/12 10:57:01 $// | last modifier : $Author: plg $// | revision : $Revision: 1.7 $// +-----------------------------------------------------------------------+// | This program is free software; you can redistribute it and/or modify |// | it under the terms of the GNU General Public License as published by |// | the Free Software Foundation |// | |// | This program is distributed in the hope that it will be useful, but |// | WITHOUT ANY WARRANTY; without even the implied warranty of |// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |// | General Public License for more details. |// | |// | You should have received a copy of the GNU General Public License |// | along with this program; if not, write to the Free Software |// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |// | USA. |// +-----------------------------------------------------------------------+// Admin FAQ$lang['help_images_title'] = 'Adding elements';$lang['help_images'] =array('Category directories are in the PhpWebGallery directory "galleries". Herefollow the directory tree of a very small gallery (but using many features): <br /><pre>.|-- admin|-- doc|-- galleries| |-- category-1| | |-- category-1.1| | | |-- category-1.1.1| | | | |-- category-1.1.1.1| | | | | |-- pwg_high| | | | | | +-- wedding.jpg| | | | | |-- thumbnail| | | | | | +-- TN-wedding.jpg| | | | | +-- wedding.jpg| | | | +-- category-1.1.1.2| | | +-- category-1.1.2| | |-- category-1.2| | | |-- pookie.jpg| | | +-- thumbnail| | | +-- TN-pookie.jpg| | +-- category-1.3| +-- category-2| |-- piglet.gif| |-- pwg_representative| | +-- video.jpg| |-- thumbnail| | +-- TN-piglet.jpg| +-- video.avi|-- include|-- install|-- language|-- template+-- tool</pre>','Basically, a category is represented by a directory at any level inPhpWebGallery directory "galleries". Each category can contain as manysub-level as you wish. In the example above, category-1.1.1.1 is at level 4of deepness.','Basically, an element is represented by a file. A file can be aPhpWebGallery element if its extenstion is among $conf[\'file_ext\']possibilities (see include/config.inc.php file). A file can be a picture ifits extension is among $conf[\'picture_ext\'] (see include/config.inc.phpfile).','Picture elements must have an associated thumbnail (see section below aboutthumbnails)','Picture elements can have a high quality file associated. As for wedding.jpgin the example above. No prefix on the high quality picture is required.','Non picture elements (video, sounds, file texts, what you want...) are bydefault represented by an icon corresponding to the filenameextension. Optionaly, you can associate a thumbnail and a representativefile (see video.avi in the example above).','Warning : the name of directories and files must be composed of letters,figures, "-", "_" or ".". No blank space, no accentuated characters','Advise : a category can contain elements and sub-categories in the sametime. Nerverthless, you are strongly advised for each category to choosebetween category containing elements OR category containing sub-categories.');$lang['help_thumbnails_title'] = 'Thumbnails';$lang['help_thumbnails'] =array('As said earlier, each element of picture type must be associated with athumbnail.','Thumbnails are stored in the sub-directory "thumbnail" of the categorydirectory. The thumbnail is a picture (same filename extensions possiblethan picture files) which filename is prefixed by the configured "Thumbnailprefix" (see admin panel, Configuration, General).','Thumbnails don\'t need to have the same extension as their associatedpicture (a picture with .jpg extension can have a thumbnail in .GIFextention for instance).','I advise you to use an external module for thumbnails creation (such asThumbClic available on the presentation site of PhpWebGallery).','You can also use the thumbnail creation page integrated in PhpWebGallery,but I don\'t advise you so, because thumbnail quality may be poor and ituses a high CPU load which can be a problem if you use free web hosting.','If you choose to use your hosting provider to create thumbnails, you mustgive write rights on all category directories and sub-directories"thumbnail" for ugo (user, group, other).');$lang['help_database_title'] = 'Synchronize filesystem and database';$lang['help_database'] =array('Once files, thumbnails and representatives are correctly placed in thedirectories, go to : administration panel, General, Synchronize','There are 2 synchronizations possible : directories/files and filemetadata. directories/files is about synchronizing your directories treewith the category tree in the database. metadata is about updating elementsinformations such as filesize, dimensions in pixels, EXIF or IPTCinformations.','The first synchronization must be the directories/files one.','Synchronization process may take long (depending on your server load andquantity of elements to manage) so it is possible to progress by step :category by category.');$lang['help_access_title'] = 'Access authorization';$lang['help_access'] =array('You can forbid access to categories. Categories can be "public" or"private". Permissions (for groups and users) can be set only if thecategory is private.','You can set a category to private by editing a single category(administration panel, Categories, Manage, edit) or by setting options toyour whole category tree (administration panel, Categories, Public/Private)','Once the category is private, you can manage permissions for groups andusers (administration panel, Permissions).');$lang['help_groups_title'] = 'Users Groups';$lang['help_groups'] =array('PhpWebGallery is able to manage groups of users. It can be very useful tohave common permission access for private categories.','You can create groups and add users to a group in administration panel,Identification, Groups.','A user can belong to several groups. The authorization is stronger thanprohibition : if user "jack" belongs to groups "family" and "friends", andthat only group "family" can see category "Christmas 2003", "jack" will beable to see "Christmas 2003".');$lang['help_remote_title'] = 'Remote site';$lang['help_remote'] =array('PhpWebGallery offers the possibility to use several servers to store theimages which will compose your gallery. It can be useful if your gallery isinstalled on one limited space and that you have a big quantity of images tobe shown.','1. edit file tools/create_listing_file.php, by modifying parameters sectionsuch as $conf[\'prefix_thumbnail\'] or $conf[\'use_exif\'].','2. place file "tools/create_listing_file.php" modified on your distantwebsite, in the same directory than your category directories (as thedirectory "galleries" of this website) by ftp. For the example, let\'s saythat you can access http://example.com/galleries/create_listing_file.php.','3. go to administration panel, General, Remote sites. Ask to create a newsite, for example http://example.com/galleries','4. a new remote site is registered. You can perform 4 actions :<ol><li>generate listing : launches a distant request to generate a distantfile listing</li><li>update : reads the distant listing.xml file and synchronizes withdatabase informations</li><li>clean : removes distant listing.xml file</li><li>delete : deletes the site (and all related categories and elements) inthe database</li></ol>','You can do all this by hand by generating yourself the listing.xml file,moving it from your distant server to you local PhpWebGallery rootdirectory and opening the remote site management screen : PhpWebGallery willpropose you to use the found listing.xml file.');$lang['help_upload_title'] = 'Files upload by users';$lang['help_upload'] =array('PhpWebGallery offers the possibility for users to upload images. in order todo it :','1. authorize upload on any categories (administration panel, Categories,Manage, edit or administration panel, Categories, Upload)','2. give write rights on directories for ugo (user, group, other)','Files uploaded by users are not directly visible on the website, they mustbe validated by an administrator. For that purpose, an administrator must goon administration panel, Pictures, Waiting in order to validate or to refusethe files proposed, then to synchronize filesystem with database.');$lang['help_virtual_title'] = 'Links between elements and categories, virtual categories';$lang['help_virtual'] =array('PhpWebGallery dissociates categories where elements are stored andcategories where they are shown.','By default, elements are shown only in their real categories : the onescorresponding to directories on the web server.','To link an element to a category, you just have to make the association onthe page of element edition (link to this screen on picture.php logged as anadministrator) or on the informations of all elements of a category.','Using this principle, it is possible to create virtual categories : nodirectory coresponds to this category. You can create virtual categories inadministration panel, Categories, Manage.');$lang['help_infos_title'] = 'Miscellanous informations';$lang['help_infos'] =array('As soon as you created your gallery, modify default display properties inadministration panel, Configuration, Default. Indeed, every new registereduser will have by default the same display properties.','If you have any question, do not hesitate to take a look at the forum or aska question there. The <a href="http://forum.phpwebgallery.net"style="text-decoration:underline">forum</a> (message board) is available onthe presentation site of PhpWebGallery. Check the <ahref="http://doc.phpwebgallery.net"style="text-decoration:underline">official PhpWebGallery documentation</a> forfurther reading.');?>