Index of /photo/

NameLast ModifiedSize
UpParent Directory
Directoryupgrade2016-08-05 06:38-
Directorythemes2006-08-09 13:43-
Directorynetpbm2006-08-09 13:43-
Directorymodules2006-08-09 13:43-
Directorylib2006-08-09 13:43-
Directoryinstall2016-08-05 06:37-
Directoryimages2006-08-09 13:43-
Directoryg2data2009-02-06 15:46-
Directorydocs2006-08-09 13:43-
Filephp.ini2006-08-09 13:42 40k
FileMANIFEST2006-04-16 20:26 56k
[TXT]login.txt2006-07-08 12:58 4k
FileLICENSE2005-06-04 18:08 20k
Fileinit.inc2006-01-30 23:00 8k
Filebootstrap.inc2006-01-24 20:34 4k
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ""> <html xmlns=""> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>README: Gallery 2.1 (Blackjack)</title> <style type="text/css"> html { font-family: "Lucida Grande", Verdana, Arial, sans-serif; font-size: 62.5%; } body { font-size: 1.2em; margin: 16px 16px 0 16px; background: white; } a { text-decoration: none; } p { line-height: 1.5em; } h2 { /*font-family: Georgia, Palatino, "Times New Roman", serif;*/ font-family: "Gill Sans", Verdana, Arial, sans-serif; font-size: 1.5em; color: #333; border-bottom: 1px solid #ddd; margin: 0; padding: 1.0em 0 0.15em 0; } tt { font-family: monospace, serif; font-size: 1.2em; line-height: 1.2em; } ul, ol { margin: 1.2em 0 1.2em 1.75em; padding: 0; } li { padding: 0.2em 0; line-height: 1.5em; } ol ul { margin-top: 0.4em; margin-bottom: 0.4em; } a:link { font-weight: 700; color: #5D728E; background-color: transparent; } a:visited { font-weight: 700; color: #5D728E; background-color: transparent; } a:hover { font-weight: 700; color: #B30400; text-decoration: underline; } div.instructions { background: #ddd; border: 1px solid #777; width: 480px; margin: 8px; padding: 0; } div.instructions h3 { background: #ccc; border-bottom: 1px solid #777; font-size: 1.1em; margin: 0 0 4px 0; padding: 4px; } div.instructions p { margin: 0 0 0 4px; } .important { background: #FACA61; border: 2px; width: 600px; margin: 0.6em 0 0.6em 0; padding: 0.6em; color: #C00; } .important .email { font-size: 1.3em; color: black; font-weight: 700; margin: 0.6em 0 0 0; } .important h3 { color: #eee; background: #f00; font-size: 1.3em; margin: -0.2em -0.2em 0.2em -0.2em; padding: 0.2em 0.2em; } .important a:link { color: #b36; } .fineprint { font-size: .8em; color: #ccc; } .toggle { padding-left: .333em; padding-right: 0.3em; border: solid #a6caf0 1px; background: #eee; } div.toc { float: right; border: 1px solid #F15D22; background: #e9eff3; padding: 2px 4px 2px 4px; margin: 15px auto auto 15px; } div.toc h2 { font-size: 1.1em; margin-top: -8px; } p.toc-link { margin: 0; } ul.toc-level-1 { margin: 0 16px 0 16px; list-style-type: none; } ul.toc-level-1 li { margin: auto; font-weight: bold; } ul.toc-level-2 { margin: auto 0 auto 15px; list-style-type: none; } ul.toc-level-2 li { margin: auto; } </style> <script type="text/javascript"> // <![CDATA[ function toggle(objId, togId) { var o = document.getElementById(objId), t = document.getElementById(togId); if ( == 'none') { = 'block'; t.innerHTML = '-'; } else { = 'none'; t.innerHTML = '+'; } } // ]]> </script> </head> <body> <div class="toc"> <h2> <a name="toc">Contents</a> </h2> <ul class="toc-level-1"> <li> Introduction <ul class="toc-level-2"> <li> <a href="#quick_start">Quick Start</a> </li> <li> <a href="#what_is_gallery">What is Gallery?</a> </li> </ul> </li> <li> About Gallery 2 <ul class="toc-level-2"> <li> <a href="#system_requirements">System Requirements</a> </li> <li> <a href="#security">Security</a> </li> <li> <a href="#whats_new">What&rsquo;s new in this release?</a> </li> </ul> </li> <li> Installation <ul class="toc-level-2"> <li> <a href="#packages">Choosing a package</a> </li> <li> <a href="#prerequisites">Preparing to install</a> </li> <li> <a href="#installing">Installing</a> </li> <li> <a href="#getting_started">Using your new Gallery</a> </li> <li> <a href="#updating">Updating your installation</a> </li> </ul> </li> <li> Help! <ul class="toc-level-2"> <li> <a href="#getting_help">Getting Help</a> </li> <li> <a href="#known_issues">Known Issues / Bugs</a> </li> <li> <a href="#advanced_topics">Advanced Topics</a> </li> </ul> </li> </ul> </div> <div> <img src="images/g2Logo.gif" alt="Gallery 2" /> </div> <p> Welcome to Gallery 2. This is the official release of Gallery 2.1, code named &ldquo;<b>Blackjack</b>&rdquo;. Please read through this document carefully before installing Gallery 2 and before asking for help. We have taken care to try to answer as many of your questions here as possible. If you don't read this and have problems, we may refer you back to this document as a first resource. </p> <h2><a name="quick_start">Quick Start</a></h2> <p> If you&rsquo;re impatient like us, you just want to get going. The odds are that your system is all set to handle Gallery 2 so just skip right to the <a href="install/index.php" target="_guided">installer</a> and start clicking. It should walk you through everything you need to get going. If you hit a snag, please come back here and read more before asking questions! Enjoy. </p> <h2><a name="what_is_gallery">What is Gallery?</a></h2> <p class="toc-link"> <a href="#toc">[table of contents]</a> </p> <p> Gallery is a web based software product that lets you manage your photos on your own website. You must have your own website with PHP and database support in order to install and use it. With Gallery you can easily create and maintain albums of photos via an intuitive interface. Photo management includes automatic thumbnail creation, image resizing, rotation, ordering, captioning, searching and more. Albums and photos can have view, edit, delete and other permissions per individual authenticated user for an additional level of privacy. It's great for communities - give accounts to your friends and family and let them upload and manage their own photos on your website! </p> <h2><a name="system_requirements">System requirements</a></h2> <p class="toc-link"> <a href="#toc">[table of contents]</a> </p> <ul> <li> Web server that can run <a href="" target="_blank">PHP</a> (<a href="" target="_blank">Apache 1</a>, <a href="" target="_blank">Apache 2</a>, <a href="" target="_blank">IIS</a>, <a href="" target="_blank">Zeus</a>, etc) </li> <li> PHP version 4.x (4.1.0 or more recent) or 5.x (5.0.4 or more recent) <br/> <b>Note:</b> <a href="" target="_blank">PHP's safe_mode</a> must be disabled! Read <a href="">this forum thread</a> for a safe_mode discussion. </li> <li> One of the following databases: <a href="" target="_blank">MySQL</a> 3.x, 4.x or 5.x, <a href="" target="_blank">PostgreSQL</a> 7.x or 8.x, <a href="" target="_blank">Oracle</a> 9i or 10g, <a href="" target="_blank">DB2</a> 8.2 </li> <li> One of the following graphics toolkits: <a href="" target="_blank">NetPBM</a> 9.x or newer, <a href="" target="_blank">ImageMagick</a> 5.x or newer, <a href="" target="_blank">GD</a> 2.x or newer, <a href="" target="_blank">GraphicsMagick</a> 1.x or newer (or else you get no thumbnails!) </li> </ul> <h2><a name="security">Security</a></h2> <p class="toc-link"> <a href="#toc">[table of contents]</a> </p> <div style="float:right; margin:10px;"> <img src="" width="196" height="52"/> </div> <p> The Gallery team retained <a href="">Paul Mutton</a> of <a href="">Intershot Limited</a> to do a complete security audit of Gallery 2.1 Release Candidate 1. </p> <p> <i>"The Gallery installer and Gallery application were subjected to a manual web application security test. It is important to note that such tests cannot be exhaustive and may not discover all vulnerabilities. All tests were carried out against a standalone installation of Gallery - no integrated installations were tested (e.g. with phpBB or phpnuke). The security of external tools used by the Gallery application, such as graphics toolkits, were not included in this test. No denial of service attacks were carried out against the application server."</i> </p> <p> The development team resolved the security issues raised by Intershot and other auditors during the release candidate phases. </p> <div class="important"> <h3>Note</h3> <p> The Gallery project treats security issues very seriously. If you find a security flaw, do not hesitate to email us at: </p> <div class="email" style="text-align: center">security AT</div> </div> <h2><a name="whats_new">What&rsquo;s new in this release?</a></h2> <p class="toc-link"> <a href="#toc">[table of contents]</a> </p> <p> Over three years of design and development have gone into making Gallery 2 the best online photo management product available. We have made it easy to add new features while keeping them in separate modules so that you can customize it to only have the ones that you want. For those of you who like standards, we have strict XHTML compliance but give plenty of power to our themes so that you can make it look the way that you want. It's a powerful application and you're in the driver's seat. </p> <h3> Highlight of changes in Gallery 2.1 (Blackjack) <span id="toggle-2-1" class="toggle" onclick="toggle('list-2-1', 'toggle-2-1')"> - </span> </h3> <ol id="list-2-1"> <li> New Ratings module allows users to vote for their favorite photos. </li> <li> New RSS module provides syndication of your Gallery's content to the world, so users can track content updates. </li> <li> New Floatrix theme based on our Matrix theme, with a collapsible sidebar and tableless design. <li> New module to support hidden items and albums. Hidden items are restricted from guest users until accessed by the direct URL. Migrate module now imports hidden items from G1 as hidden in G2 if this module is active. </li> <li> New module to support password protected items and albums. Passwords are complementary to the G2 permission management. Passwords are impersonal while the G2 permission system handles access and rights for specific users and user groups. </li> <li> New Reupload module allows replacing an image file while keeping the title, description, comments, etc. </li> <li> New Permalinks module works with the URL Rewrite module to create short URLs using just the album name, as in Gallery 1.x. </li> <li> New Linkitem module creates links to other albums or external URLs. </li> <li> New module to import albums from <a href="" target="_blank">Picasa</a>. </li> <li> New module to support <a href="" target="_blank">Google Sitemaps</a>. </li> <li> New module for retrieving id3 tag information. </li> <li> New link in comments module to view all recent comments. Also an option to require captcha for posting anonymous comments. </li> <li> New option to apply album and theme settings recursively to all subalbums. </li> <li> URL Rewrite module now supports IIS (isapi rewrite) and pathinfo. </li> <li> Captcha module has an improved "medium" security level and now unifies configuration in captcha site admin for all modules making use of validation. </li> <li> Print modules <ul> <li> Permissions support to control which users can print and which photos may be printed. </li> <li> Support for printing non-public photos. </li> <li> New Fotokasten module for prints from <a href="" target="_blank"></a>. </li> <li> Renamed PhotoAccess to PhotoWorks. </li> </ul> </li> <li> Permission support in cart module to control which users and which items may be used with the cart. </li> <li> PublishXP module now supports add-options such as watermarks and applying size limits or quotas. </li> <li> Upgraded bundled EXIF library to Exifixer 1.5 which fixes reading of EXIF data from many cameras and image processing tools. Also updated the module to make GPS fields available and to read EXIF data from raw image files. </li> <li> New option in ffmpeg module to watermark thumbnails for movie items with a film reel image on each side, to better distingish movies from photos. Support for recent versions of ffmpeg binary. </li> <li> Support for recent versions of dcraw binary. </li> <li> Added WMF and TGA image format support in ImageMagick module. </li> <li> Improved cross-browser support in ImageFrame module. </li> <li> Several updates and new options for Hybrid theme. </li> <li> New settings and improved admin interface for Siriux theme. </li> <li> Localization updates <ul> <li> Added support for hints in translatable strings to aid translators, or to distinguish identical English strings that may need different translations in another language. </li> <li> Localizations now generally specify only a language rather than language+country for better sharing of translations. Country specific translations can still override the base translation. </li> <li> New option to specify whether Gallery checks the browser language preference to select the language for new sessions. </li> </ul> </li> <li> User Interface updates in installer/upgrader based on a review by <a href="" target="_blank"></a>. </li> <li> New performance section in site admin for configuring optional page caching. </li> <li> New maintenance mode to redirect visitors while upgrading or configuring the site. </li> <li> Multisite installs can now use the tools in lib/support. </li> <li> Sessions are now stored in the database and no longer in files. And guest users don't get a session anymore unless they add items to the cart, choose a non-default language or do something else that requires a session. </li> <li> New development tool: sample module creator in lib/tools/creator. </li> <li> New option to run external programs at lower priority to reduce load on shared webhosting servers. </li> <li> Support for <a href="" target="_blank">DB2</a> database. </li> <li> Minor updates to support PHP 5.1. </li> <li> Embed API is now versioned (for compatibility checks) and initialization parameters have been simplified. </li> <li> Many code updates, restructuring and API changes with the goals of improving performance and making smaller/simpler/cleaner code. </li> <li> Lots of bugs fixed. </li> </ol> <h3> Highlight of changes in Gallery 2.0 (Unpossible!) <span id="toggle-2-0" class="toggle" onclick="toggle('list-2-0', 'toggle-2-0')"> + </span> </h3> <ol id="list-2-0" style="display:none"> <li> Updated version of the Siriux theme. </li> <li> Several bug fixes. </li> </ol> <h3> Highlight of changes in Gallery 2 RC 2 (kthxbye) <span id="rc2-toggle" class="toggle" onclick="toggle('rc2-list', 'rc2-toggle')"> + </span> </h3> <ol id="rc2-list" style="display:none"> <li> <b> Gallery 1 migration </b> <ul> <li> Custom fields from G1 can now be imported if the Gallery 2 custom fields module is active. </li> <li> Restricted permissions are now set for imported photos and albums from G1 that are hidden. Gallery 2 does not yet have a hidden feature so for now these items are restricted by permissions. </li> <li> Migration process now generates a report of any captions that were trunctated to fit the field size of title or summary in Gallery 2. </li> </ul> </li> <li> <b> Localization </b> - Some translation fixes including several updates to better support right-to-left languages. Gallery 2 now has 29 available locales; over 90% translated in 6 languages, over 50% in 7 and partially translated in 16 more! We still bundle all language data with the modules.. eventually we will have separate downloadable translations. </li> <li> <b> Date formats </b> - Customizable date/time formats defined in Site Admin. </li> <li> <b> Security </b> - Fixed minor cross site scripting flaw where uploaded images could contain &lt;script&gt; tags in their EXIF and IPTC keywords. </li> <li> Many, many bugs fixed. </li> </ol> <h3> Highlight of changes in Gallery 2 RC 1 (+5 Insightful) <span id="rc1-toggle" class="toggle" onclick="toggle('rc1-list', 'rc1-toggle')"> + </span> </h3> <ol id="rc1-list" style="display:none"> <li> <b> New Packages </b> - You can now choose from <a href="#packages">four different packages</a>: minimal, typical, full, and developer. </li> <li> <b> Siriux is Back </b> - The Siriux theme was ported to the new theme system. </li> <li> <b> User Contributed Themes </b> - There are now more and more user contributed themes to choose from. </li> <li> <b> New Installer Log </b> - Gallery 2 now generates a log of the core module installation process which will make it much easier for you to provide the necessary information and for us to help you. </li> <li> Many, many bugs fixed. </li> </ol> <h3> Highlight of changes in Gallery 2 Beta 4 (Flippin' Sweet!) <span id="beta4-toggle" class="toggle" onclick="toggle('beta4-list', 'beta4-toggle')"> + </span> </h3> <ol id="beta4-list" style="display:none"> <li> <b> New Theme System </b> - You spoke -- we listened. The old layout and theme system was far too complicated so we've completely overhauled it leaving control firmly in the hands of the theme designer while keeping it simple and easy to work with. </li> <li> <b> Square Thumbnails </b> - This module now offers a mode to fit thumbnails inside a square with a specified background color instead of cropping the image into a square. </li> <li> <b> CMYK Jpegs </b> - ImageMagick module can now detect jpegs using CMYK colorspace and convert to RGB for display in the Gallery, still keeping the original file available for download. </li> <li> <b> Multisite Support </b> - The multisite system has been completely redesigned and is now compatible with both URL Rewrite module and embedded Gallery 2. Multisite Gallery 2 refers to multiple independent sites using a single codebase. </li> <li> <b> Localization </b> - The installer and upgrader can now be localized. </li> <li> <b> Improved Installer </b> - The installer offers now a clean install option, catches version mismatches between database/g2data/code, detects the proper locking system to use, and has a more detailed admin user setup. </li> <li> <b> Improved Upgrader </b> - There&rsquo;s now a progress bar in the module upgrade step to combat server timeouts. </li> <li> <b> Guest Preview Mode </b> - Click this to see almost exactly what a guest will see when browsing your albums. Useful if you want to test permissions and other settings. </li> <li> <b> Improved Cookie Management </b> - New optional configuration parameters enable cookie support in embedded Gallery 2 while maintaining maximum security by default and the flexibility to support embedded Gallery 2 installs on separate subdomains. </li> <li> <b> Colorpacks </b> - Now that layouts are gone and there are only themes, colorpacks let you change the color scheme of a theme. </li> <li> Many, many bugs fixed. </li> </ol> <h3> Highlight of changes in Gallery 2 Beta 3 (Bingo!) <span id="beta3-toggle" class="toggle" onclick="toggle('beta3-list', 'beta3-toggle')"> + </span> </h3> <ol id="beta3-list" style="display:none"> <li> <b> New Modules </b> <ul> <li> New Quotas module allows limiting disk usage for users and groups. </li> <li> New Iconpack module adds icons for various links. </li> <li> New dcraw module adds support for the raw image format of many cameras. </li> <li> New Publish XP modules allows adding items directly from Windows XP. </li> <li> New Slideshow applet module shows images in a fullscreen slideshow using Java. </li> </ul> </li> <li> <b> Layouts </b> <ul> <li> Simplified the PHP code required for a layout. This makes it easier to create a new layout that mostly involves building the tpl files, but still allows use of additional PHP code for more advanced layouts. </li> <li> Standard $user template variable now available in all views, which makes it easier to customize content for guests, registered users or administrators. </li> </ul> </li> <li> <b> Hotlinked image protection </b> <ul> <li> URL Rewrite module now offers the ability to restrict item downloads from external referers not on an approved list. This prevents other websites from directly linking to images on your server. </li> <li> Watermark module offers an alternate rule in Rewrite module which can apply a watermark on the fly to images for external referers. </li> </ul> </li> <li> <b> Tree view </b> - Album Select module now offers a dynamic tree view in addition to the simple select box for navigating to any album. </li> <li> <b> Thumbnails </b> - Expanded ability to override the album default thumbnail size to any item or album, not just for photo thumbnails. </li> <li> <b> IPTC </b> - Support for reading IPTC data added to EXIF/IPTC module. </li> <li> <b> Forgot Password </b> - New system to reset the password for any Gallery 2 user with an email address. </li> <li> <b> Short URLs </b> - More control in Site Admin over how short URLs are constructed. </li> <li> <b> Owner Permissions </b> - Permissions are now transferred to the new owner when changing the owner of an album or item. </li> <li> <b> Updated Albums </b> - Modification date of albums now updated for item add, move, delete in that album (so New Items module will show "Updated"). </li> <li> <b> Add From Web </b> - Improved support for URLs where extension doesn't match the actual mime type (like Gallery 2 URLs!). </li> <li> <b> Email Test </b> - Added ability to send a test email from Site Admin to verify email settings are correct. </li> <li> <b> System Maintenance </b> - New maintenance tasks: <ul> <li> Reset view counts for all albums and photos. </li> <li> Build all thumbnails and resizes at once. </li> <li> Display system information, useful for copy/paste to support forum. </li> <li> Rewrite module task to check for conflicts between short URLs and actual Gallery files. </li> </ul> </li> <li> <b> Integrations </b> - Improved support for integration with external applications. </li> <li> <b> Installer </b> - Verify that the database user has the correct permissions before installing. </li> <li> Many, many bugs fixed including several localization fixes. </li> </ol> <h3> Highlight of changes in Gallery 2 Beta 2 (Holy Hand Grenade) <span id="beta2-toggle" class="toggle" onclick="toggle('beta2-list', 'beta2-toggle')"> + </span> </h3> <ol id="beta2-list" style="display:none"> <li> <b> Performance Improvements </b> <ul> <li> Automatic fast download code for publicly visible images. We bypass most of the framework and render thumbnails and resizes quickly on demand, while still preserving the complete image firewall. This radically reduces server load. </li> <li> Replaced the permissions table with access control lists. This change isn't visible to the end user, but results in a significant performance increase for large galleries. </li> </ul> </li> <li> <b> Themes/CSS </b> <ul> <li> We updated the CSS across the entire app to clean it up and make building new themes a bit easier. </li> <li> Added new mblue theme. </li> </ul> </li> <li> <b> Layouts </b> <ul> <li> The main content no longer wraps below the sidebar in Matrix layout when viewed with IE. </li> <li> Hybrid, slider and tile layouts are now themeable and have improved cross browser compatibility. </li> <li> Added Nico Kaiser's siriux layout. </li> </ul> </li> <li> <b> New Modules </b> <ul> <li> New captcha module allows you to require that users have to prove that they're human in order to log in or register a new account. </li> <li> New mime management module allows you to control which mime types Gallery understands. </li> </ul> </li> <li> <b> Localization </b> <ul> <li> Localized into Chinese (Simplified) </li> <li> 6 localizations support 75% or more of Gallery. </li> </ul> </li> <li> <b> Embedding </b> <ul> <li> Considerable progress in the API and documentation. </li> <li> Xaraya, PHP-Nuke, Tikipro, Drupal and Mambo integrations <a href="" target="_blank">available in CVS</a>. </li> </ul> </li> <li> Many, many bugs fixed. </li> </ol> <h3> Highlight of changes in Gallery 2 Beta 1 (Dark Fibre) <span id="beta1-toggle" class="toggle" onclick="toggle('beta1-list', 'beta1-toggle')"> + </span> </h3> <ol id="beta1-list" style="display:none"> <li> <b> Rewrite </b> - New module for creating compact, search engine friendly URLs. </li> <li> <b> Recursively Add Directories </b> - You can now add an entire hierarchy of images in directories at once. Gallery will turn each sub-directory into an appropriate sub-album. </li> <li> <b> Locking </b> - New database locking system that allows Gallery to run properly on NFS filesystems. </li> <li> <b> Shutterfly </b> - New module for printing photos with </li> <li> <b> Classic Layout </b> - New layout similar to the Gallery 1 top level album. Shows thumbnails, item details and a tree of links to subalbums. </li> <li> <b> Origination Timestamp </b> - New field to store the date normally shown with items. The field is automatically set from EXIF data if available but can also be changed manually. </li> <li> <b> Resizes </b> - Added support for both width and height bounds for photo resizes and scaling the original image. </li> <li> <b> Archive Upload </b> - New module extracts files from uploaded zip archives and adds each to the album. Implemented to allow support for other archive formats to be added later. </li> <li> <b> Size Limit </b> - New module to define maximum dimensions or file size of uploaded images. </li> <li> <b> Custom Thumbnails </b> - Thumbnail module now allows uploading a custom jpeg thumbnail for any album or item. </li> <li> <b> Rearrange </b> - New module allows rearranging the order of all items in an album at once. </li> <li> <b> Album Select </b> - New module adds a select box for jumping directly to any album. </li> <li> <b> EXIF </b> - Added ability to set item summary/description from EXIF description when new photos are uploaded. </li> <li> <b> Symlink </b> - Option to add items using symbolic links to existing files on a unix server. </li> <li> <b> Sort Order </b> <ul> <li> Two levels of sorting now supported. </li> <li> New sort to always show albums first. </li> </ul> </li> <li> <b> Image Block Enhancements </b> <ul> <li> Picture/Album of the Day/Week/Month. </li> <li> Option to omit certain albums from image blocks. </li> <li> External image blocks using full size images. </li> <li> Scale external image blocks to a specified maximum size. </li> <li> Support for image frames around image blocks. </li> </ul> </li> <li> <b> User Album Options </b> <ul> <li> Create user albums when first accessed instead of right when the user account is created. </li> <li> Show link to user album. </li> <li> Jump to user album after login. </li> </ul> </li> <li> <b> Embedding </b> <ul> <li> Further improvements in the API and documentation. </li> <li> Added support for search and image block. </li> <li> Xaraya, PHP-Nuke, Tikipro and Drupal integrations <a href="" target="_blank">available in CVS</a>. </li> </ul> </li> <li> <b> Multisite Support </b> - The installer can now configure multiple independent sites using a single codebase. </li> <li> <b> Internationalization </b> <ul> <li> Added basic support for right-to-left languages. </li> <li> New <b>MultiLanguage</b> module adds ability to write captions in multiple languages and display them based on the selected language of each user. </li> </ul> </li> <li> <b> Error Handling </b> - Improved handling and display of error messages. </li> <li> <b> Bugs </b> - Many, many bugs fixed. </li> </ol> <h3> Highlight of changes in Gallery 2 Alpha 4 (Nice Commits) <span id="alpha4-toggle" class="toggle" onclick="toggle('alpha4-list', 'alpha4-toggle')"> + </span> </h3> <ol id="alpha4-list" style="display:none"> <li> <b> Upgradeable Core and Modules </b> - At long last we support upgrading from one version of Gallery 2 to the next. Unfortunately, this may not work reliably for all version before Alpha 4, so we recommend that you reinstall Alpha 4 from scratch just to be sure. </li> <li> <b> Module Uninstall </b> - You can now completely uninstall a module and then delete it from your Gallery 2 installation. </li> <li> <b> Installer Improvements </b> <ul> <li> The interface for installing modules is now much easier to use. It shows you all the modules and lets you select the ones you want to install, and lets you repeat the process as often as you like. </li> <li> Added better instructions and examples for several steps that were confusing (your user feedback at work!) </li> <li> The installer now works on browsers that don't allow cookies. </li> </ul> </li> <li> <b> User Interface enhancements </b> - Some changes in our main layout place the most important system links on top of every page (Site Admin, Login, Logout, ...). This gives you easy access to these commands. The sidebar has some improved functionality, like a direct login form and some more details on your cart and members (if those modules are active). This is another step towards a "block" system where modules can provide any amount of blocks of information to be placed in the sidebar. </li> <li> <b> Navigation </b> - It's now easier to navigate around Gallery. Meaningful "back" links will bring you back to the last visited pages, e.g. it's now possible to visit the Site Admin while editing an album and have an easy way to return. </li> <li> <b> Random Highlight </b> - New module allows albums to periodically change highlight, selecting randomly from the album's items. </li> <li> <b> WebCam </b> - New module creates items that periodically refresh the image from an external URL. </li> <li> <b> Thumbnail Page </b> - New module gives more control over thumbnails for movies and documents. For multipage documents (like PDF/Postscript) or images (like multiscene TIFF) you can pick the page number for the thumbnail (Note: PDF/Postscript require both ImageMagick and Ghostscript). When used in conjunction with the Ffmpeg module you can pick a time offset for generating thumbnails for movies. </li> <li> <b> Graphics Toolkits </b> - <ul> <li> The ImageMagick and NetPBM toolkits have been optimized to make fewer calls to external binaries when used for multiple operations. For example, cropping and resizing to make a thumbnail now requires only a single call to "convert" with ImageMagick. </li> <li> We now preserve extra operations (like crop settings) on thumbnails when moving an item between albums or rebuilding thumbnails. </li> <li> Added ability to set toolkit priority. This means you can activate multiple toolkits to support more mime types but still select which toolkit is used in cases where multiple toolkits support the same type. </li> <li> Added support for ImageMagick 6.1.x </li> </ul> </li> <li> <b> Sort Order </b> - "Default sort order" and "Manual sort order" are now separate choices, allowing albums to properly inherit the site default for sort order; Ascending/descending is disabled for these choices. </li> <li> <b> New Items </b> - New module shows "new" and "updated" images next to appropriate images and albums, and adds a new sort where new items are shown first followed by other items sorted by view count. </li> <li> <b> SMTP Authentication </b> - We now support sending email via a SMTP server that requires user authentication. Any module that sends email (like the registration module) can take advantage of this support. </li> <li> <b> Embedding Gallery 2 </b> - We've made great improvements in embedding Gallery 2 into other applications. We've successfully (though not completely) embedded it into Xaraya and have begun working on other platforms. See <a href="" target="_blank">Gallery 2 Embedding</a>. </li> <li> <b> Thumbnail Creation </b> - We now let you create thumbnails at upload time, which greatly improves performance the first time you view an album. It's optional, but on by default. </li> <li> <b> Improved Error Pages </b> - We now show you a nice error page when two simultaneous and conflicting changes happen. This new page explains how to resolve the problem. </li> <li> <b> Members </b> - We now show a list of the recent changes that a user has made, and let you page through the entire list of changes. </li> <li> <b> Removed IE7 </b> - We were experimenting with <a href="" target="_blank">IE7</a>, a compatibility layer in JavaScript reduces some of the incompatibilities between IE6 and other browsers. However we were not able to get the performance and reliability that we needed so we've decided to abandon using it (at least for now). </li> <li> <b> Localization </b> - Gallery 2 is now translated into 18 languages, though only German, Danish and Swedish are over 50% translated. We can use your help! </li> <li> <b> Bug fixes </b> - Many bugs closed! </li> </ol> <h3> Highlight of changes in Gallery 2 Alpha 3 (Farva) <span id="alpha3-toggle" class="toggle" onclick="toggle('alpha3-list', 'alpha3-toggle')"> + </span> </h3> <ol id="alpha3-list" style="display:none"> <li> <b> Watermark Support </b> - We now support image watermarking. You can add a watermark to the thumbnail, resize or full sized version of an image using a DHTML drag-and-drop interface. </li> <li> <b> Oracle Database Support </b> - The installer now offers Oracle (version 9i and higher) among the supported database types. </li> <li> <b> Module Manifests </b> - All modules now come with a manifest file, and the installer checks to make sure that you&rsquo;ve got a complete set of files on the server. </li> <li> <b> Auto Completion </b> - the Site Admin user and groups pages, and the permissions pages now perform appropriate completion for you. Just type a few characters of the username you&rsquo;re searching for and it&rsquo;ll give you up to 10 possible matches. Tested on Firefox, but not extensively tested on IE yet. </li> <li> <b> New version of IE7 </b> - We&rsquo;re experimenting with <a href="" target="_blank">IE7</a>, a compatibility layer in JavaScript reduces some of the incompatibilities between IE6 and other browsers. The older version caused weird problems with images getting overlaid with a red X, or IE6 crashing. </li> <li> <b> Migration improvements </b> - <ul> <li> We now properly migrate item owners </li> <li> We now preserve the order of imported subalbums </li> <li> Gallery 1 summary and description fields are now transposed on import so that the Gallery 1 "summary" (which was shown inside the album itself) is now the Gallery 2 "description" and vice versa. </li> </ul> </li> <li> <b> CMS Integration </b> - Although this is not yet readily visible, a great deal of work has been done on getting Gallery 2 ready to integrate into external content management systems. We&rsquo;ve successfully done partial integrations with <a href="" target="_blank">Xaraya</a> and <a href="" target="_blank">Drupal</a>, with more on the way. </li> <li> <b> Square Thumbnails </b> - We fixed a noticeable bug where the first time you viewed a square thumbnail it might appear distorted (this was mentioned in the "known bugs" list of the alpha-2 release). </li> <li> <b> Zip Cart Plugin </b> - You can now download the contents of your cart as a zip file. </li> <li> <b> User Albums </b> - You can use the new User Albums module to automatically create a new album for a user whenever you create a new user. </li> <li> <b> Installer </b> - Many minor tweaks including adding more install checks to make sure that your system is OK. </li> <li> <b> Members </b> - The members module now has privacy settings so that you can prevent the unauthorized from seeing your list of members, and/or their email addresses. </li> <li> <b> Bug fixes </b> - Many bugs closed! </li> </ol> <h3> Highlight of changes in Gallery 2 Alpha 2 (Grand Theft Photo) <span id="alpha2-toggle" class="toggle" onclick="toggle('alpha2-list', 'alpha2-toggle')"> + </span> </h3> <ol id="alpha2-list" style="display:none"> <li> <b> User Interface </b> - Many small and large user interface improvements. Made the XHTML more standards compliant and used less divs in favor of more sensible tags (like h1, h2, etc). </li> <li> <b> Performance </b> - Significant performance increases in general, and especially for image views. This also reduces the overall load on your system when (for example) viewing a page with 9 thumbnails on it. </li> <li> <b> Installer </b> - The installer now installs the core module for you, as well as allows you to optionally install other modules right away instead of having to do it later via the Site Admin. </li> <li> <b> Custom Fields </b> - New custom field module allows you to define global and per-album custom fields for your item meta data. </li> <li> <b> Java Upload Applet </b> - New upload option where you can drag and drop files onto an applet and Gallery 2 will upload them for you. </li> <li> <b> GD Graphics toolkit </b> - Implemented <a href="" target="_blank">GD</a> based graphics toolkit. This enables use of PHP&rsquo;s built-in imaging functions for thumbnails, resizes, cropping and rotating. Requires GD 2.0 or newer. No external binaries needed. </li> <li> <b> Square Thumbnails </b> - New module that allows you to specify that all gallery thumbnails have a 1:1 aspect ratio </li> <li> <b> Imageframe module </b> - This module allows you to apply frames to your photos and albums in the Matrix and Hybrid layouts. </li> <li> <b> Self Registration module </b> - Allows guests to register for their own account in your Gallery 2. </li> <li> <b> Language selection </b> - There&rsquo;s a new box in the sidebar where guests can choose their preferred language </li> <li> <b> Nokia Mobile Phone Uploader Module </b> - Upload images to your Gallery 2 from your mobile phone! </li> <li> <b> Migration module </b> - We now import Gallery 1 permissions, and allow you to choose the source encoding (character set) of your Gallery 1 so that we can convert it to UTF-8 as part of the migration. We now also track where your Gallery 1 albums wound up in Gallery 2 so that you can create an .htaccess file in your Gallery 1 to redirect Gallery 1 URLs to Gallery 2, for ease of migration. </li> <li> <b> Gallery Remote </b> - GR now supports creating new Gallery 2 albums. </li> <li> <b> PHP5 Support </b> Gallery 2 has been tested on PHP 5.0.1 on FreeBSD and Linux. </li> <li> <b> Bugs </b> - More than 31 bugs closed since Alpha 1. </li> </ol> <h3> Highlight of changes in Gallery 2 Alpha 1 (Cowbell) <span id="alpha1-toggle" class="toggle" onclick="toggle('alpha1-list', 'alpha1-toggle')"> + </span> </h3> <ul id="alpha1-list" style="display:none"> <li> <b> First Release of Gallery 2! </b> </li> </ul> <h2><a name="packages">Choosing a package</a></h2> <p class="toc-link"> <a href="#toc">[table of contents]</a> </p> <p> You can choose from four different packages: </p> <ul> <li> <b>Minimal</b> - The base application, 2 themes and 3 graphics toolkits. Everything you need to publish photos, and nothing more. </li> <li> <b>Typical</b> - The base application, 7 themes and a selection of popular modules. Enough to satisfy the demands of most Gallery users. </li> <li> <b>Full</b> - The base application, 7 themes and 56 modules. Every cool feature we've got. </li> <li> <b>Developer</b> - Same as the full package, except it includes all the developer tools so that you can work on improving the code. </li> </ul> <p> You get to pick and choose which modules you activate, so even if you download a package that has more modules than you need you can always choose not to activate the ones you don't want. You can also activate a module and test it out for a while, then later deactivate and deinstall it. You can also delete any modules/themes that you're not using if you want to save space. </p> <p> All of our modules and themes are available separately so if you install a smaller package and then later on decide that you want to add more functionality you can download just the modules/themes that you want and install them yourself. </p> <p> Download Gallery packages, modules and themes from the <a href="" target="_guided">Gallery Download Page</a>. </p> <h2><a name="prerequisites">Preparing to install</a></h2> <p class="toc-link"> <a href="#toc">[table of contents]</a> </p> <ol> <li> <b><a name="get_latest_code">Latest Version</a></b> - There are four ways to get the code. <ul> <li> <b>Tarball</b> - You can download a prepackaged file as a tarball or a zip file from <a href="" target="_blank">SourceForge</a>. </li> <li> <b>Pre-Installer</b> - If you only have FTP access to your webserver and don't have the option to extract zip or tar files directly on the server, you should give the <a href="" target="_blank">Gallery 2 Pre-Installer</a> a try. It transfers the archive directly to your webserver and extracts it for you. </li> <li> <b>Nightly Snapshot</b> - You can download a tarball or zip file with a snapshot of the most recent code. Find links to these on the <a href="" target="_blank">Gallery Download Page</a>. </li> <li> <b>CVS</b> - This is a better way to get the latest code, but it&rsquo;s for <i>advanced</i> users. Follow the <a href="" target="_blank">CVS instructions</a> to obtain the latest Gallery 2 code. It&rsquo;s easier to stay up to date with this method since you can run one command and get the latest code at any time. </li> </ul> </li> <li> <b>Storage</b> - Create a directory for gallery to store photos. This must be writeable by the web server, but for security reasons we suggest that you do not put it in the web root. If you put it in the web root, then anybody can get directly to your images with their web browser which circumvents Gallery 2&rsquo;s security. <div class="instructions"> <h3>Unix Example</h3> <p> $ cd $HOME <br/> $ mkdir g2data <br/> $ chmod 777 g2data </p> </div> <div class="instructions"> <h3>Windows Example</h3> <p> C:\&gt; mkdir g2data </p> </div> In the Unix example, you may note that modes of 777 on your <strong>g2data</strong> directory are not all that secure. However, making it more secure depends on how your system is configured. Talk with your system administrator about ways to change the permissions on that directory to make it so that Gallery can still write to the files but that others can&rsquo;t. Refer to the <a href="">Gallery 2 Security Guide</a> for more information. </li> <li> <b>Database</b> - Right now we support <a href="" target="_blank">MySQL</a>, <a href="" target="_blank">PostgreSQL</a>, <a href="" target="_blank">Oracle</a> and <a href="" target="_blank">DB2</a>. MySQL is generally faster than PostgreSQL. Oracle and DB2 are barely tested. We require you to create the database yourself. In our examples below, we&rsquo;ll be creating a database called <b>gallery2</b>. You can use any database name that you choose. <br /> Grant all required <strong>privileges</strong> to your database user. This includes but is not confined to: CREATE TABLE, ALTER TABLE, DROP TABLE in the gallery2 database; SELECT, INSERT, UPDATE, DELETE on all (gallery2) tables in the gallery2 database; CREATE INDEX and some other privileges that are specific to the different database management systems. CREATE/DROP DATABASE and the ability to GRANT privileges to other database users are not required. <div class="instructions"> <h3>MySQL</h3> <p> $ mysqladmin -uroot create gallery2 <br /> $ mysql gallery2 -uroot -e"GRANT ALL ON gallery2.* TO<br/> &nbsp;&nbsp;<strong>username</strong>@localhost IDENTIFIED BY <strong>'password'</strong>"<br/> </p> </div> <ul class="note"> <li> Choose your own <strong>username</strong> and <strong>password</strong> </li> <li> If MySQL denies you access, try adding "-p" right after "-uroot" in each command </li> </ul> <div class="instructions"> <h3>PostgreSQL</h3> <p> $ createdb gallery2 -E UNICODE <br/> <br/> <i>If it complains that UNICODE is not a valid encoding name, then try:</i> <br/> $ createdb gallery2 -E SQL_ASCII <br/> <br/> <i>If it complains about that, too then try:</i> <br/> $ createdb gallery2 <br/> </p> </div> <div class="instructions"> <h3>Oracle</h3> <p> $ create database gallery2 {additional parameters}; </p> </div> <div class="instructions"> <h3>DB2</h3> <p> $ db2 "create database gallery2 using codeset utf-8 territory us pagesize 32 k" </p> </div> <ul class="note"> <li> Also see our <a href="" target="_blank">DB2 page</a> </li> </ul> </li> <li> <b>Graphics Toolkits</b> - Gallery 2 works with many different toolkits (<a href="" target="_blank">NetPBM</a>, <a href="" target="_blank">ImageMagick</a>, <a href="" target="_blank">GD</a> or <a href="" target="_blank">GraphicsMagick</a>). You need to activate at least one or you won't get any thumbnails, but there's no limit on how many you can have. In fact, more is better because they can work together. Here are some interesting points about the main supported toolkits (mostly reported by users, your mileage may vary). <ul> <li> <b>Fastest</b> - ImageMagick and GraphicsMagick </li> <li> <b>Highest Quality</b> - NetPBM (ImageMagick is a close second though) </li> </ul> Limitations: <ul> <li> <b>GD</b> - cannot do image rotation, may hit server memory limits and crash PHP. </li> <li> <b>NetPBM, ImageMagick, GraphicsMagick</b> - require server to support exec() system call (not usually a problem) </li> </ul> </li> </ol> <h2><a name="installing">Installing</a></h2> <p class="toc-link"> <a href="#toc">[table of contents]</a> </p> <p> Gallery 2 is a web application and must be installed on your web server in order for you to use it. If you've unpacked it on your desktop, you will have to upload it to your server as part of the install process. Then you can configure it using your web browser.<br/> As an alternative to the lengthy upload via FTP, take a look at the <a href="" target="_blank">Gallery 2 Pre-Installer</a>. </p> <ol style="margin-top: 0.2em"> <li> <b> Upload </b> - Copy the Gallery 2 files to a directory on your webserver. There are several alternatives for this step: <ul style="margin-top: 0.4em; margin-bottom: 0"> <li> <b>Fastest way</b>: Upload the gallery package to your web server archive via FTP or another method, then unpack it using an interactive shell session (eg. ssh or telnet). Example unpacking commands (choose the appropriate one): <div class="instructions"> <h3> For .tar.gz archives </h3> <p> $ tar xzf gallery2.tar.gz </p> </div> <div class="instructions"> <h3> For zip archives </h3> <p> $ unzip </p> </div> If you do not have shell access, you can ask your provider to do it for you, or you can make a miniature PHP script containing one of the above commands. Some webhosting companies offer a control panel with a web file-browser which is capable of extracting / unarchiving archive files. It&rsquo;s worth a try to check if this option is available. </li> <li> <b>Easiest (but slowest) way:</b> If you don't have shell access, you can upload the complete contents of the Gallery 2 archive to the webserver with an FTP program. This may take a lot of time and be error-prone. In this case, pay special attention to the &rsquo;System Checks&rsquo; step of the installer and make sure that there are no missing or modified files. Consider using a smart FTP program like <a href="" target="_blank">FileZilla</a> to make sure that your transfer goes smoothly. </li> <li> <b>Advanced way</b>: The best way to install Gallery <b>and</b> stay up to date if you have shell access to your webserver is to use CVS. <div class="instructions"> <p> $ cvs login <br/> &nbsp;<i> (if it asks for a password, just hit enter) </i> <br/> $ cvs co gallery2 </p> </div> SourceForge's CVS connection can be slow at times. But this approach is great because any time you want to update your Gallery install all you have to do is do: <div class="instructions"> <p> $ cd gallery2 <br/> $ cvs update -Pd </p> </div> </li> </ul> <b> Note: </b> After uploading, you should close this version of the README and browse to the version that you just uploaded. That way all the links in this document will point to the right places in your Gallery 2 install. </li> <li> <b> Begin Installing </b> - Open up your web browser and browse to the <a href="install/index.php" target="_guided">install directory</a>. Gallery 2 will walk you through the process of validating that your system is properly configured and will set everything up for you. </li> <li> <b> Authenticate </b> - You will be asked to create and save a small text file in order to authenticate. You may not proceed until you do this. That&rsquo;s how Gallery 2 knows that you&rsquo;re authorized to use the installer. </li> <li> <b> System Checks </b> - The installer checks your system to make sure that it will support Gallery 2. Make sure that all checks are successful! </li> <li> <b> Installation Type </b> - Gallery can support multiple independent sites with a single installation of the code. Here you will select a standard single install or the location of a new multisite install. There is more information about multisite in the <a href="" target="_blank">Gallery Codex</a>. </li> <li> <b> Storage Setup </b> - Read the instructions on the installer to set up a storage location for Gallery 2. This is where Gallery 2 will store all of your images, as well as other cache information. </li> <li> <b> Database Setup </b> - Select your database type and enter your database authentication information. If this is not your first Gallery 2 installation and there are still some remains of the old installation, it will check the state of the installed version and offer a clean install option which will delete all your data in the storage directory and in the database. If the installed version seems to be fine, it will also offer to reuse the existing database tables. Select this option if you did not start the installer with the intent to start from scratch. </li> <li> <b> Admin User Setup </b> - You are prompted for an administrator username and password. Type in a password and type it again to validate it. The full name and the email address are optional. But entering an email address is highly recommended. Once you&rsquo;re finished, click &rsquo;Create&rsquo; to create the admin user for this installation of Gallery 2. </li> <li> <b> Create Config File </b> - Gallery 2 will create the <b>config.php</b> file in your Gallery 2 directory. This contains all the answers you&rsquo;ve provided in the installer and is necessary for Gallery 2 to function properly. At this point, there&rsquo;s also a sanity check to prevent you from damaging your Gallery install by running the installer when you should rather have started the upgrader. </li> <li> <b> Install the Core module </b> - Here&rsquo;s where we create all the database tables and initial users and albums to get you started. Unless something goes wrong, there&rsquo;s nothing for you to do here. </li> <li> <b> Install other modules </b> - Gallery 2 has lots of different modules that provide useful functionality. Choose which ones you want to use. You can always go to the <a href="main.php?g2_view=core.SiteAdmin" target="_guided">Site Admin</a> page later on to install, activate, deactivate or uninstall modules, so it&rsquo;s ok to experiment here. </li> <li> <b> Check Security </b> - Gallery 2 walks you through the process of locking down your new <b>config.php</b>. </li> <li> <b> Finished! </b> - Congratulations! You have successfully installed Gallery 2! </li> </ol> <h2><a name="getting_started">Using your new Gallery</a></h2> <p class="toc-link"> <a href="#toc">[table of contents]</a> </p> <ol> <li> <b> Log in </b> - Once you&rsquo;ve successfully got Gallery 2 installed, you should start by <a href="main.php?g2_view=core.UserAdmin&amp;g2_subView=core.UserLogin&amp;g2_form[formName]=UserLogin&amp;g2_form[username]=admin" target="_guided">logging in</a> as the admin user that was created for you at install time. The admin user has special privileges that you&rsquo;ll need in order to administer your new Gallery 2. </li> <li> <b> Activate Graphics Toolkits </b> - Click on the <a href="main.php?g2_view=core.SiteAdmin" target="_guided">Site Admin</a> link then the <a href="main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminModules" target="_guided">Modules</a> link to see the module list. Install, configure and activate one of the NetPBM, ImageMagick, or GD modules. You can activate as many of them as you want (more is better, here). </li> <li> <b> Add photos </b> - Browse back to <a href="main.php" target="_guided">the top of your new Gallery 2</a> and click on the <a href="main.php?g2_view=core.ItemAdmin&amp;g2_subView=core.ItemAdd&amp;g2_itemId=7" target="_guided">Add Items</a> link. This will bring up a page with a few different upload options (at least 3, more if you have other upload modules installed). Select the one you want and try adding a new photo to your album. If all goes well, you should see the new photos in your <a href="main.php" target="_guided">Gallery!</a>. </li> <li> <b> Add an album </b> - You don't want to put all of your images into the top level of your Gallery 2, so you should try creating a new album. Browse back to <a href="main.php" target="_guided">the top of your new Gallery 2</a> and click on the <a href="main.php?g2_view=core.ItemAdmin&amp;g2_subView=core.ItemAddAlbum&amp;g2_itemId=7" target="_guided">Add Album</a> link from the left side of the page. This will give you a form where you can enter information about the new album you want to create. Fill it out and click the <b>Create</b> button. Now try adding images to that album instead, or select the <b>Move Photo</b> link from under any of the images you added earlier and move them into this new album. </li> <li> <b> Import Gallery 1 albums </b> - you can easily import albums from Gallery 1. It won&rsquo;t cause any harm to your Gallery 1. Just go to the <a href="main.php?g2_view=core.SiteAdmin&amp;g2_subView=migrate.SelectGallery" target="_guided">Migration Page</a> and enter the path to your Gallery 1 albums directory and then follow the instructions. </li> <li> <b> Plenty to do and see! </b> - <ul> <li> Explore the different <a href="main.php?g2_view=core.SiteAdmin" target="_guided">Site Admin</a> options and tune your Gallery 2 the way that you want it. </li> <li> You can <a href="main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminThemes&amp;g2_mode=config" target="_guided">activate different themes</a> and experiment with them. You can use a different theme on each album! </li> <li> You can <a href="main.php?g2_view=search.SearchScan&amp;g2_form[useDefaultSettings]=1" target="_guided">search your Gallery 2</a> and view the <a href="main.php?g2_view=members.MembersList" target="_guided">members list</a> if these modules are active. </li> <li> Activate the <b>Icons</b> module and select the fun icons from Paul Armstrong Designs. </li> <li> If the <b>Ffmpeg</b> module is activated, you can upload movies and it will automatically create thumbnails of them for you. </li> <li> Activate the <b>Panorama</b> module and then try uploading really wide images and then edit them to put them in Panorama mode to activate the panorama viewer. </li> <li> Activate the <b>Cart</b> and <b>Photoaccess</b> modules, add all the photos from an album to the cart and try printing them all at once (you can cancel the print job at the last second so it&rsquo;s ok to play around with this) </li> <li> Activate the <b>Cart</b> and <b>Zip Download</b> modules, add all the photos from an album to the cart and then download them all at once as a zip file! </li> <li> <a href="main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminUsers" target="_guided">Create some new users</a> then <a href="main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminGroups" target="_guided">create some new groups</a> and then try adding users to groups. You can assign permissions to entire groups instead of individual users, which makes permission management much easier. </li> <li> Try uploading a Shockwave or a Director file. You can view them in-line. </li> <li> Activate the <b>Thumbnail Manager</b> module then try uploading an MP3 and see that it&rsquo;s got a custom thumbnail. Use the <a href="main.php?g2_view=core.SiteAdmin&amp;g2_subView=thumbnail.ThumbnailSiteAdmin" target="_guided">thumbnail manager</a> to upload your own custom thumbnails for different file types. Gallery 2 lets you upload files of any type! </li> <li> Activate the <b>ImageBlock</b> module and see random images appear in the sidebar when you browse through your Gallery 2. </li> <li> Play around with the <a href="main.php?g2_view=core.SiteAdmin&amp;g2_subView=core.AdminModules" target="_guided">other modules</a> and see what they do! There are over 50 different cool modules that do all kinds of neat stuff. If you decide that you don't want a module any more, just deactivate and uninstall it and it goes away. </li> <li> Take a look at the list of <a href="" target="_blank">User Contributions</a> to find even more modules, themes, utilities, mods and more. </li> </ul> </li> </ol> <h2><a name="updating">Updating your Gallery 2 Installation</a></h2> <p class="toc-link"> <a href="#toc">[table of contents]</a> </p> <p> Updating is quick and easy and should not lose any of your data. </p> <div class="important"> <h3> Warning! </h3> <p> There are changes in Gallery 2.1 that cause it to be incompatible with modules and themes from Gallery 2.0. All modules and themes released by the Gallery project have been updated to work with 2.1, but if you're using third party modules/themes you may find that they do not work with the 2.1 release. </p> <p> If you're worried, you can either deactivate any third party modules before beginning your upgrade, or find and use the latest version of the third party module. </p> <p> Gallery 2.1 will detect if you're missing the appropriate version of a necessary module and will abort the upgrade <b>before making any changes</b> so you will not lose any data. </p> <p> Third party modules and themes: <a href=""></a> </p> </div> <ol> <li> If you have a busy site, consider putting your Gallery in maintenance mode before updating the code and performing the upgrade. This gives visitors a message that the site is temporarily offline, rather than showing everybody the upgrade page. Edit your config.php file to activate maintenance mode. This feature is new in 2.1, so it is not available in an upgrade from 2.0.x. </li> <li> Download the latest code for any active third party modules that you're using, or deactivate them. If in doubt, deactivating is safe. </li> <li> <a href="#get_latest_code">Get the latest code</a> and unpack it over your existing copy of Gallery 2. Keep your existing config.php in place, and don't touch your (g2data) data folder or the database. If you're using CVS, you can just do "cvs update -Pd" at any time. Alternatively, you can also use the <a href="" target="_blank">Gallery 2 Pre-Installer</a> to get the latest code onto the webserver. </li> <li> If you use a PHP accelerator / cache (e.g. Turk mmCache, Ioncube PHPA, eaccelerator, Zend Studio, etc.), flush (clear) the cache of the accelerator. Omitting this step can <i>sometimes</i> lead to errors during and after the upgrade process. </li> <li> Browse to <a href="upgrade/index.php" target="_guided">the upgrader</a> and follow the instructions there. Make a backup of your data (g2data folder and the database) when it tells you to! Should you lose your data due to a bug in the upgrader, the first thing we're going to tell you to do is to restore from your backups! (Then we'll probably ask you to help us reproduce the bug.) </li> <li> Enjoy your new version of Gallery 2. </li> </ol> <h2><a name="getting_help">Getting Help</a></h2> <p class="toc-link"> <a href="#toc">[table of contents]</a> </p> <p> There are many resources available to you if you're having problems with Gallery: </p> <ul> <li> Look at the <a href="" target="_blank">&quot;How do I Install Gallery2&quot; article</a> on the <a href="" target="_blank">Gallery Documentation Website</a> </li> <li> Read the <a href="" target="_blank" >Gallery 2 FAQ</a> </li> <li> Use the <a href="" target="_blank">Gallery 2 Support Forums</a> on the <a href="" target="_blank">Gallery Website</a>. </li> <li> Search the forum to see if somebody else has posted a similar problem and maybe there&rsquo;s an answer there, otherwise start a new topic to get help. </li> <li> If the problem seems like a bug in the Gallery 2 software you can <a href=";atid=107130" target="_blank">file a bug</a> in our bug tracker on SourceForge. Please read our <a href="" target="_blank">tracker guidelines</a> before filing a bug so that we can cut down on the number of spurious reports. </li> <li> If you're unsure whether to file a bug you can always post in the forums first and we'll ask you to file a bug if needed. If you want to chat in real time, you can talk on our user-to-user irc support channel, <a href="irc://" target="_blank">#gallery-support on</a> </li> </ul> <p> Remember &ndash; reporting bugs is <b>good</b>. Even if you think it&rsquo;s silly, go ahead and report it. We can always close the bug or refile it (please don&rsquo;t be offended in this case) but it&rsquo;s harder to find bugs than it is to fix them so we&rsquo;re counting on you to help us with the finding part. </p> <h2><a name="known_issues">Known Issues / Bugs</a></h2> <p class="toc-link"> <a href="#toc">[table of contents]</a> </p> <p> Check our <a href="" target="_blank">Known Issues</a> list and <a href=";atid=107130" target="_blank">Bug Tracker</a> for information and some workarounds for known problems. </p> <h2><a name="advanced_topics">Advanced Topics</a></h2> <p class="toc-link"> <a href="#toc">[table of contents]</a> </p> <p style="margin: 10px 0 0 0"> <b> Unit Tests </b> - Gallery 2 was designed using <a href="" target="_blank">Extreme Programming</a> methodologies. This means that we have over 2,000 unit tests that ensure code quality. If you want to help us out, you can <a href="lib/tools/phpunit/index.php" target="_guided">try running the unit tests</a> and report back to us if any of them fail. <br/> </p> <p style="margin: 0 0 0 10px"> <b> Note </b> - these tests shouldn&rsquo;t change your Gallery 2 settings at all, but if they fail, they may leave things in a weird state. Be warned that there's a slim chance that you might have to ditch your Gallery 2 data and start over if something catastrophic happens. </p> <p> <b> For Themers </b> - There is now some <a href="" target="_guided">theme documentation</a> that you should read if you want to change the look of your Gallery 2 by customizing an existing theme and its templates or by creating your own theme. </p> <p> <b> Localization </b> - If you&rsquo;re interested in localizing Gallery 2 into another language, you can <a href="lib/tools/reports/localization.php" target="_guided">review the current state of localization</a> and then <a href="" target="_guided">read the localization how-to</a> and get started. <a href=";group_id=7130&amp;func=browse" target="_guided">Submit your localizations</a> early and often - no need to wait until you&rsquo;re entirely done. </p> <p> <b> For Developers </b> - We've gotten started on some <a href="" target="_guided">developer documentation</a> that you should read if you want to start hacking on Gallery 2. Some of the information is a little bit out of date or in early drafts, but it's a start. </p> <p> <b> Embedding </b> - To learn more about embedding Gallery 2 into your website and about existing integrations in content management systems, portals, blogs etc. please see <a href="" target="_blank">Gallery 2 Embedding</a>. </p> <p> <a href=";ss=1"><img src="images/xhtml10.png" alt="This page is valid XHTML 1.0" style="border: none" width="80" height="15"/></a> <a href=""><img src="images/gallery.gif" alt="Gallery 2" title="Gallery 2" style="border: none" width="80" height="15"/></a> </p> <hr /> <p class="fineprint"> $Id: README.html,v 2006/04/13 17:16:44 bharat Exp $ </p> </body> </html>
Proudly Served by LiteSpeed Web Server at Port 80