MODx/Подключаемые сниппеты/MaxiGallery: различия между версиями

Содержимое удалено Содержимое добавлено
Строка 331:
|-
|}
 
 
 
====Маски и водяные знаки для Превью====
 
 
{| border="1" cellpadding="20" cellspacing="0"
!width="450" |Параметр
!align="center" width="180" |Возможные значения
!width="190" |По умолчанию
|-
|
'''&thumb_mask_bgcolor '''
 
Mask background color for thumbnail pics.
It should be the same as color as the page background color.
|
RGB Hexadecimal
|
FFFFFF
|-
|
'''&thumb_mask_img'''
 
Path to an imagemask image that is to be applied to the thumbnail pictures.
|
path
|
assets/snippets<br>
/maxigallery/imagemask<br>
/demomask-frame1.png
|-
|
'''&thumb_mask_position'''
 
Imagemask position.
The resize option resizes the imagemask to the size of the picture.
|
*top
*topleft
*topright
*left
*center
*right
*bottom
*bottomleft
*bottomright
*resize
|
resize
|-
|
'''&thumb_use_imagemask'''
 
Apply an imagemask to thumbnail pictures.
|
*0
*1
|
0
|-
|
'''&thumb_use_watermark'''
 
Watermark the thumbnail images.
|
*0
*1
|
0
|-
|
'''&thumb_watermark_font'''
 
Font size of the watermark text.
|
*1
*2
*3
*4
*5
|
1
|-
|
'''&thumb_watermark_halign'''
 
Horizontal alignment of the watermark.
|
*left
*center
*right
|
right
|-
|
'''&thumb_watermark_img'''
 
Path to a watermark image.
Use a png image with a transparent background alpha layer.
|
path
|
assets/snippets<br>
/maxigallery/watermark<br>
/watermark.png
|-
|
'''&thumb_watermark_txt
 
Text that will be applied to the images as a watermark.
|
text
|
Copyright <YEAR>
|-
|
'''&thumb_watermark_txt_color '''
 
Color of the watermark text.
|
RGB Hexadecimal
|
FFFFFF
|-
|
'''&thumb_watermark_txt_hmargin'''
 
Horizontal margin of the watermark text.
|
Number (px)
|
2
|-
|
'''&thumb_watermark_txt_vmargin '''
 
Vertical margin of the watermark text.
|
Number (px)
|
2
|-
|
'''&thumb_watermark_type'''
 
Type of the watermark to use.
Either text or a user supplied image.
|
*image
*text
|
text
|-
|
'''&thumb_watermark_valign'''
 
Vertical alignment of the watermark.
|
*top
*center
*bottom
|
bottom
|-
 
===Other===