Setting up gallery

Setting up...

  1. Make a backup of your files!
    Always nice to have a backup befor you mess arround with the system
  2. Install the plugin loader, if not already done!
    The plugin loader can be downloaded from here http://cmsimpleplugins.svarrer.dk/?Plugin_Loader
  3. Download the gallery plugin, and unzip and keep the folder structure

    The folder structure will look something like this:
    +-GALLERY
    | index.php
    | admin.php
    | |
    | +-LANGUAGES
    | | da.php
    | | de.php
    | | en.php
    | | nl.php
    | |
    | +-CSS
    | | stylesheet.css
    | |
    | +-CONFIG
    | | config.php
    | |
    | +-HELP
    | | help.htm
  4. Upload the folder gallery and it's content to the folder called PLUGINS (the plugin loader)

    After the upload to the plugin folder your structure should look like below:

    The folder structure will look something like this:
    +-PLUGINS
    | index.php
    | admin_common.php
    | |
    | +-GALLERY
    | | index.php
    | | admin.php
    | | |
    | | +-LANGUAGES
    | | | da.php
    | | | de.php
    | | | en.php
    | | |
    | | +-CSS
    | | | stylesheet.css
    | | |
    | | +-CONFIG
    | | | config.php
    | | |
    | | +-HELP
    | | | help.htm
  5. Login to CMSimple to edit/create pages in cmsimple.dk
  6. Create a gallery page

    Code like this:

    <h1>Gallery</h1>
    #CMSimple $output.= gallery('gallery/test/');#

    This code will create a page called Gallery in CMSimple and on the webserver it will create a folder called gallery with the subfolder test insinde it.

    If you after saving the page go to 'NORMAL MODE' you should see a page like below


    Now your gallery have been setup and you are ready to use it.

  7. Putting pictures to the gallery
    You can upload pictures to the gallery using 2 methods,

    1. FTP upload via your favorite FTP program, this method is prefered if you have to upload a lot of pictures. You must put your .jpg pictures in the forlder created by the script in step 6. gallery/test/

    2. Upload via the gallery admin part, login to the CMSimple select  the gallery from the avaliable plugins dropdown box, then press the Gallery settings button up load via the upload form at the bottom of the page, see below. Also the version of GD is read out when in this menu.

  8. Generating the files
    If you access your gallery page Gallery, created in step 6 the gallery plugin should generate the thumbnails and the files for comments and other stuff.

  9. Change the settings
    In the gallery plugin configuration different settings for the gallery can be changed.

  10. Trouble shooting
    If you run into problems during the installation please go to http://cmsimpleplugins.svarrer.dk/?Plugins_avaliable:Gallery:FAQ and look for advice.