; this is formatted like WIN.INI
; please: do not use comments for value lines
...........
...........
\\
**2. The data division** is parsed for every file, here the formatting and tags are placed.
..........
..........
\\
**3. part** everything outside of these limiters is only once processed.
\\
==== The ini part ====
Here some parameters can be adjusted:
; this is formatted like WIN.INI
; please: do not use comments for value lines
icon_path = "img/icons/"
icon_name = "small_icon_{FILE_EXT}.gif"
; alternatively use "small_icon_pix.gif" for all images/files
thumbnail = 1
thumbnail_width = 100
thumbnail_height = 100
thumbnail_crop = 1
; lighbox_init [0|1] since V1.4.2 r354 available: Enable only when really needed
lightbox_init = 0
file_size_round = 1
file_size_space = " "
date_format = "%d.%m.%y"
set_locale = "de_DE@Euro"
\\
==== The entire tag set ====
within ......... \\
with [examples] looks now in such a way:
\\
A picture with the maximum dimensions 800x600px was generated and spent in the LightBox (without Next/Prev). Is the before/back shifting desired , change ##rel="lightbox[XYZ{FILE_ID}]"## --> ##rel="lightbox[XYZ]"##. (//The demarcation of the individual pictures is waived against each other).//
\\
==== Example template: ====
**using a LightBox call** (template/inc_cntpart/filelist/filelist_lightbox01.html)
----
{{:deutsch:phpwcms-system:artikel:contentparts:dateiliste:fe_filelist_lightbox01.gif|}}
{{:deutsch:phpwcms-system:artikel:contentparts:dateiliste:be_filelist_lightbox01.gif|}}
----
; this is formatted like WIN.INI
; please: do not use comments for value lines
icon_path = "img/icons/"
icon_name = "small_icon_{FILE_EXT}.gif"
; alternatively use "small_icon_pix.gif" for all images/files
thumbnail = 1
thumbnail_width = 70
thumbnail_height = 70
thumbnail_crop = 1
; lighbox_init [0|1] since V1.4.2 r354 available: Enable only when really needed
lightbox_init = 1
file_size_round = 1
file_size_space = " "
date_format = "%d.%m.%y"
set_locale = "de_DE@Euro"
[TITLE]{TITLE}
[/TITLE]
[SUBTITLE]{SUBTITLE}
[/SUBTITLE]
[TEXT]{TEXT}[/TEXT]
[FILE_TITLE]{FILE_TITLE}[/FILE_TITLE][FILE_TITLE_ELSE]{FILE_NAME}[/FILE_TITLE_ELSE]
[FILE_IMAGE_ELSE]
[/FILE_IMAGE_ELSE]
[FILE_IMAGE]
[/FILE_IMAGE]
[FILE_DESCRIPTION]
{FILE_DESCRIPTION}
[/FILE_DESCRIPTION]
Dateiname: {FILE_NAME}
Erstellt am: {FILE_DATE} - Größe: {FILE_SIZE}
[FILE_IMAGE_WIDTH]
Format: [FILE_IMAGE_LANDSCAPE]quer[/FILE_IMAGE_LANDSCAPE][FILE_IMAGE_PORTRAIT]hoch[/FILE_IMAGE_PORTRAIT]
- B x H: {FILE_IMAGE_WIDTH} x {FILE_IMAGE_HEIGHT}px
Modus: {FILE_IMAGE_CHANNEL} - MIME type: {FILE_IMAGE_MIME}
{FILE_DOWNLOADS} Downloads
[/FILE_IMAGE_WIDTH]
\\
===== Content Part =====
The data in the description line override the data in ini-part. \\
The description line follows this sample:
File-Description|File-Name|File-Title|File-Target|WxHxCxQ
File-Description|File-Name|File-Title|_blank|120x100x1x80
The small preview picture was represented in the quantity 120x100px, cropped and //quality 80 (only jpg)//.