Gallery Layout Settings

Gallery layout settings  should be set in tfile_gallery.php file.

All settings of the given file can be edited through the convenient /admin part but if the user won’t want to use it, the description of the given settings is quoted below.

- all the galleries should be defined in variables &cat[gallery number] beginning from 0 and in the increasing order;
- all the photos in the current gallery should be defined in variables &cat_[gallery number]_pic_[picture number], picture number from 0 and in the increasing order;
- all the comments to pictures are saved in variables &cat_[gallery number]_comment_[number of picture with comment].

Example: There are two galleries, 10 pictures in each; this should be described in text file as follows:


&cat_0_comment_0=Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent vestibulum molestie lacus. Aenean nonummy hendrerit mauris. Phasellus porta.&



The other layout settings:

&image_height - small pictures height
&image_width - small pictures width
&h_space - horizontal space between small pictures
&v_space - vertical space between small pictures
&preview_width - big photo width
&preview_height - big photo height
&open_in_browser - (true/ false)  - if true, then at click on zoom button, photo opens in browser, if false – in flash
&comment_position - (stretched, left, right) positioning of comments to photos (stretched – will occupy all big photo throughout width)
&preview_position (top, bottom, right, left) - gallery appearance setting, shows how big photo will be settled relatively to the small one
&preview_offset - indent between big and small pictures