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 |
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 |
Code like this: |
<h1>Gallery</h1> |
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.
Putting pictures to the gallery
You can upload pictures to the gallery using 2 methods,
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/
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.
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.
Change the settings
In the gallery plugin configuration different settings for the gallery can be changed.
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.