DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
EXT: Simple Javascript Fotogallery¶
Author: | Kasper Skårhøj |
---|---|
Created: | 2002-11-01T00:32:00 |
Changed: | 2006-01-02T15:19:13 |
Email: | ploiner@mbit.at |
EXT: Simple Javascript Fotogallery¶
Extension Key: mbit_gallery
Copyright 2000-2002, ploiner@mbit.at, <ploiner@mbit.at>
This document is published under the Open Content License
available from http://www.opencontent.org/opl.shtml
The content of this document is related to TYPO3
- a GNU/GPL CMS/Framework available from www.typo3.com
Table of Contents¶
EXT: Simple Javascript Fotogallery 1
Introduction 1
What does it do? 1
Screenshots 1
Installation 2
Adminstration 2
Configuration 2
Reference 2
Known problems 3
To-Do list 3
Changelog 3
Introduction¶
What does it do?¶
This is a simple Imagegallery using Javascript. It reads the Content of an specified Folder containing Images, creates an Index, and displays a Gallery where you can page through (optional in a new Window / Popup).
Screenshots¶
Creation of Folders in the FILELIST Module.
The Index looks like this (Can be configured via CSS)
The Gallery. The Layout is defined in a Template.
Installation¶
Install the Extension in the Extension Manager. Got to the Site, which should be the Gallery Index. Insert the Plugin as Content Element or with Typoscript (page.10.marks.CONTENT < plugin.tx_mbitgallery_pi1).
Now Insert the Plugin the same way on a second Site, which shows the Gallery.
That's it! Now go to the Configuration :-)
Adminstration¶
To Insert Fotos in the Gallery, go to the Module FILELIST an create a Folder (like “gallery”) with Subfolders (like: “20051224Holiday_in_Austria”). The Name must have this Syntax: Date of the Event and the Name of the Event: YYYYMMDDname_with_underlines. The Underlines will be translated to Spaces automatically.
Now you can Upload your Images (GIF, JPG, PNG) in to the Subfolders in the FILELIST Module, or with your FTP Program.
Configuration¶
Reference¶
::¶
Property
gallerypath
Data type
string
Description
The Path to your Galleries. Here the Plugin searches for the Subfolders with the Images.
Default
::¶
Property
openpid
Data type
int
Description
This is the PID of the second Page, which shows the Gallery.
Default
::¶
Property
templatefile
Data type
string
Description
Template for the Extension. Here you can change the Layout and Structure of the Gallery Items.
Default
::¶
Property
open
Data type
string
Description
Target for the Links to the Galleries. You can insert _blank, _self, top, Framenames, or mbitgallerypopup to open theGallery in a Popup.
If you use the Popup, there are more Options:
popupwidth Width of the Popup [INT]
popupheight Height of the Popup [INT]
popupresize Popup Resize? [yes|no]
popupscrollbar = Scrollbars in the Popup [yes|no]
Default
::¶
Property
piccount
Data type
0 OR 1
Description
0=false, 1 = true. If true, the Index shows the amount of Pictures in each Gallery
Default
::¶
Property
gallerycount
Data type
0 OR 1
Description
0=false, 1 = true. If true, at the bottom of the Index is the Amount of all Images in all Galleries.
Default
::¶
Property
yearsplit
Data type
0 OR 1
Description
0=false, 1 = true. If true, the Index is splittet by Date. Each Year is a new Headline.
Default
::¶
Property
_LOCAL_LANG.de.
Data type
string
Description
Change some Text of the Extension, or Extend it with other Languages.
Available Items:
total
pics
pic
of
next
prev
Default
::¶
Property
CSS Styles
Data type
Description
.tx_mbitgallery_year -> Year Value on Index Site
.tx_mbitgallery_count -> Count Value on Index Site
.tx_mbitgallery_header -> Header on Gallery Site
.tx_mbitgallery_pic -> Image on Gallery Site
.tx_mbitgallery_prev -> Previous Link on Gallery Site
.tx_mbitgallery_next -> Next Link on Gallery Site
.tx_mbitgallery_total -> Image Counter on Gallery Site
Default
((generated))¶
Example:¶
plugin.tx_mbitgallery_pi1 {
gallerypath = fileadmin/gallery/
openpid = 78
templatefile = EXT:mbit_gallery/temp_mbitgallery.html
open = mbitgallery_popup
popupwidth = 800
popupheight = 500
popupresize = no
popupscrollbar = no
piccount = 1
gallerycount = 1
yearsplit = 1
_LOCAL_LANG.de.next = Weiter
}
Known problems¶
There are no Problems at the Moment in the BETA Version.
To-Do list¶
Post in the Forum ;-)
Changelog¶
- 0.0.1 First Release
- 0.0.2 Manual added, File Structure cleaned
- 0.0.3 Bugfix
- 0.0.4 Manual updated, more CSS classes
EXT: Simple Javascript Fotogallery - 3