Service Gallery Settings


Service gallery settings you should set in tfile_main.html file.

It is recommended to change the default settings only while changing settings through the /admin part (sizes of small or large images). There is some incorrect representation of photos on the page (the photos themselves do not fit in properly). This happens seldom enough that’s why you won’t need to change the default settings in most cases.

The negative value which is responsible for positioning in X-direction moves the object to the left, positive one – to the right.

The value which is responsible for correction in Y-direction moves the object up and down respectively.

&stage_width - flash dimensions width (do not change)
&stage_height - flash dimensions height (do not change)

&gallery_width - gallery area width (do not change)
&gallery_height - gallery area height (do not change)

&preview_x_correction - big photos correction in X-direction
&preview_y_correction - big photos correction in Y-direction
&preview_height_correction - big photos height correction
&preview_width_correction - big photos width correction

&zoom_x=20 - position of zoom button on big photos in X-direction
&zoom_y=20 - position of zoom button on big photos in Y-direction

&menu_position=horizontal& - menu position – horizontal or vertical (do not change)

&gallery_button__correction - correction of the button with gallery names in X-direction
&page_back_correction - button back correction in X-direction

&comment_x_correction - big photos area with comments correction in X-direction
&comment_y_correction - big photos area with comments correction in Y-direction

&comment_left - left indent of big photos area with comments
&comment_right - right indent of big photos area with comments

&menu_offset - menu button width correction

&small_picture_x_correction - small photos correction in X-direction
&small_picture_y_correction - small photos correction in Y-direction
&small_picture_height_correction - small photos height correction
&small_picture_width_correction - small photos width correction

&file_option=php - parameter, responsible for the following: from which file to upload data for the gallery - PHP or html
&template_help_preview=false& - do not change!