Anda di halaman 1dari 3

General Guideline for Gallery Usage

================================================================================
=============
Building of the gallery page is based on the basic small picture size. Setting a
big picture suitable height is carried out automatically. Width and height of a
big picture are set only to make similarity of the gallery with design more pre
cise. If you want to change gallery s appearance, simply change the parameter prev
iew position as you like it and then change the width or the height of the big p
icture until you have the required number of small picture columns.
Feel free to type long comments
size automatically.

the substrate under them will take the required

If you are not satisfied with changed gallery sizes and want the gallery page to
take its original form settings just press the button defaults in the gallery op
tions available in the /admin panel.
Note! After you uploaded your site to a server please check the letter case in f
olders with categories and their descriptions in this file: xxxxx_gallery.php, i
.e. If a category is called &cat_1=BALOONS&, then uppercase letters should be us
ed for a folder as well.
While uploading some FTP clients convert the names of the files and folders to l
owercase letters. That's why we insist on checking the letter case and manual re
naming necessary files and folders if required, otherwise this can lead to unexp
ected behavior and failures in the proper functioning of gallery and /admin pane
l.
Please, check http://info.template-help.com/after_sale_support/Working_with_Dyna
mic_Flash_Galleries/ for more detailed info.
Gallery Settings
================================================================================
=============
All necessary settings can be adjusted with the help of the following two files:
- server settings can be modified at the end of the file xxxxx_main.html
- and appearance settings are modified in xxxxx_gallery.php.
Note! On some hostings at turning to file xxxxx_gallery.php, an error 500 (inter
nal server error) can pop up, to avoid it one should rename the file xxxxx_galle
ry.php to xxxxx_gallery.html and change the following lines in the \admin\libs\
amfphp\services\Gallery.php file:
&file_option=php& with &file_option=html&
and also change the line:
var $galleryDataFilePath = '../../../../xxxxx_gallery.php'; with var $galleryDat
aFilePath = '../../../../xxxxx_gallery.html';
Service Gallery Settings
================================================================================
=============
Service gallery settings you should set in xxxxx_main.html file.
It is recommended to change the default settings only while changing settings th

rough 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 proper
ly). This happens seldom enough that s why you won t need to change the default sett
ings 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-d


irection
&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!
Gallery Layout Settings
================================================================================
=============
Gallery layout settings should be set in xxxxx_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 quo
ted below.

- all the galleries should be defined in variables &cat[gallery number] beginnin


g from 0 and in the increasing order;
- all the photos in the current gallery should be defined in variables &cat_[gal
lery number]_pic_[picture number], picture number from 0 and in the increasing o
rder;
- all the comments to pictures are saved in variables &cat_[gallery number]_comm
ent_[number of picture with comment].
The other layout settings:
&image_height - small pictures height
&image_width - small pictures width
&h_space - horizontal space between small pictures (calculates automatically whe
n preview_position is set to top or bottom)
&v_space - vertical space between small pictures (calculates automatically whe
n preview_position is set to right or
left)
&colls - points to quantity of thumbnails columns (calculates automatically when
preview_position is set to top or bottom)
&rows - points to quantity of thumbnails rows (calculates automatically when pr
eview_position is set to right or
left)
&open_in_browser - (true/ false) - if true, then at click on zoom button, photo
in flash
opens in browser, if false
&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
Big image width and height are always automatically calculated

Anda mungkin juga menyukai