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

Содержимое удалено Содержимое добавлено
Строка 161:
 
Вертикальное расположение водяного знака.
|
*top
*center
*bottom
|
bottom
|-
|-
|
|
|
|-
|-
|
|
|
|-
|
'''&pic_mask_img'''
 
Path to the image to be applied as an imagemask to the normal pictures.
|
path
|
assets/snippets<br>
/maxigallery/imagemask<br>
/demomask-frame2.png
|-
|
'''&pic_mask_position'''
 
The 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
|-
|
'''&pic_use_imagemask'''
 
Apply an imagemask to normal pictures.
|
*0
*1
|
0
|-
|-
|
|
|
|-
|
'''&pic_use_watermark'''
 
Watermark normal images.
|
*0
*1
|
0
|-
|
'''&pic_watermark_font'''
 
Font size for text watermarks.
|
*1
*2
*3
*4
*5
|
3
|-
|
'''&pic_watermark_halign'''
 
Horizontal alignment of the watermark.
|
*left
*center
*right
|
right
|-
|
'''&pic_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
|-
|
'''&pic_watermark_txt'''
 
Text that will be applied to the images as a watermark.
|
text
|
Copyright <YEAR> <SITENAME>
|-
|
'''&pic_watermark_txt_color'''
 
Color of the watermark text.
|
RGB Hexadecimal
|
FFFFFF
|-
|
'''&pic_watermark_txt_hmargin'''
 
Horizontal margin in pixels of the watermark text.
|
Number (px)
|
10
|-
|
'''&pic_watermark_txt_vmargin '''
 
Vertical margin in pixels of the watermark text.
|
Number (px)
|
10
|-
|
'''&pic_watermark_type'''
 
Determines the type of the watermark to be used, either text or image.
(image is user supplied.)
|
*image
*text
|
text
|-
|
'''&pic_watermark_valign'''
 
Vertical alignment of the watermark.
|
*top