rtSurvey ផ្ដល់ extensions សម្រាប់ watermarking photos ហើយ display ក្នុង media grid


Watermark

Watermark feature overlay text ឬ image ទ ៅ ល ើ photo ។

Setup

  watermark(type, size, distance, color, shadow, rotate, blur)
  
Parameterការពិពណ៌នា
type'text''file'
sizeFont size pixels (text) ឬ % ទ ំ ហ ំ image
distanceSpacing tiles pixels
colorText color
shadowShadow color
rotateRotation angle degrees
blurOpacity (0-100)

Text watermark example

typenamelabelappearancecalculation
calculatewm_text`concat(pulldata(‘app-api’, ‘user.name’), '
imagesite_photoTake a photo of the sitewatermarkwatermark('text', 20, 60, '#ffffff', '#000000', 45, 40)

Media grid widget

Media grid widget display collection ន ៃ media files ក ្ ន ុ ង grid layout ។

  appearance: mediagridwidget
  

Example: Show all photos from a repeat

typenamelabelappearancecalculation
calculatephoto_listjoin(' ', ${site_photo})
notephoto_reviewReview captured photosmediagridwidget

Best Practices

  1. Compute watermark text ក ្ ន ុ ង calculate field ខ ា ង ល ើ image field ។
  2. ប ្ រ ើ rotation angle (45°) ។
  3. Set opacity (blur) 30–60% ។

Limitations

  • Watermarking ត ្ រ ូ វ ប ា ន apply client-side ។
  • Watermarks baked ក ្ ន ុ ង image file ។
តើទំព័រនេះមានប្រយោជន៍ទេ?