Gallery2

From Kb_JMY(晉明夷)

Jump to: navigation, search
  • References:


Contents

Setting Up G2

Plugin Setup

  • path to jpegtran: /usr/bin/jpegtran (assumed to be hosted by GreenHost)


Installing Gallery2

  • References:
  1. Gallery2.org: How_do_I_Install_Gallery2#Webhosting_Users
  2. gallery2.org: Category:Gallery_2:Installation
  • Installation Procedure:
  1. Upload - Copy the Gallery 2 files to a directory on your webserver.
  2. Begin Installing - Open up your web browser and browse to the install directory. Gallery 2 will walk you through the process of validating that your system is properly configured and will set everything up for you.
  3. Authenticate - 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’s how Gallery 2 knows that you’re authorized to use the installer.
  4. System Checks - The installer checks your system to make sure that it will support Gallery 2. Make sure that all checks are successful!
  5. Installation Type - 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 Gallery Codex.
  6. Storage Setup - 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.
  7. Database Setup - Select your database type and enter your database authentication information.
  8. Admin User Setup - You are prompted for an administrator username and password.
  9. Create Config File - Gallery 2 will create the config.php file in your Gallery 2 directory. This contains all the answers you’ve provided in the installer and is necessary for Gallery 2 to function properly.
  10. Install the Core module - Here’s where we create all the database tables and initial users and albums to get you started.
  11. Install other modules - Gallery 2 has lots of different modules that provide useful functionality. Choose which ones you want to use. You can always go to the Site Admin page later on to install, activate, deactivate or uninstall modules, so it’s ok to experiment here.
  12. Check Security - Gallery 2 walks you through the process of locking down your new config.php.
  13. Finished! - Congratulations! You have successfully installed Gallery 2!


FAQ(Gallery2)

  • Problems: I have tried every option to configure G2 to allow user to upload their own album photo, but still failed, here is what I have tried:
  • login as administrator and go to "site admin" -> "User Albums" -> then the following displayed:
=========================
User Album Settings
* An album will be created for each user. The user will have full permissions on the album.
* Create albums ----> "when user is created" or "when first is accessed" both options do not works!!!???
* Albums viewable by -------------------------- everybody
* Full size images viewable --------------- Yes
* Location for new user albums ------------ Gallery (i.e. root)
* Login page ----------------------------------- checked "Jump to user album after login"
* Link to user album ------------------------- Show link
=========================
  • Solutions: "when first is accessed" is the right answer to allow user albums



Personal tools