On this page
manage_search
Advanced Images
Advanced image features ក្នុង rtSurvey: watermarking, media grid display, និង image annotations។
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' |
size | Font size pixels (text) ឬ % ទ ំ ហ ំ image |
distance | Spacing tiles pixels |
color | Text color |
shadow | Shadow color |
rotate | Rotation angle degrees |
blur | Opacity (0-100) |
Text watermark example
| type | name | label | appearance | calculation |
|---|---|---|---|---|
| calculate | wm_text | `concat(pulldata(‘app-api’, ‘user.name’), ' | ||
| image | site_photo | Take a photo of the site | watermark | watermark('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
| type | name | label | appearance | calculation |
|---|---|---|---|---|
| calculate | photo_list | join(' ', ${site_photo}) | ||
| note | photo_review | Review captured photos | mediagridwidget |
Best Practices
- Compute watermark text ក ្ ន ុ ង
calculatefield ខ ា ង ល ើ image field ។ - ប ្ រ ើ rotation angle (45°) ។
- Set opacity (
blur) 30–60% ។
Limitations
- Watermarking ត ្ រ ូ វ ប ា ន apply client-side ។
- Watermarks baked ក ្ ន ុ ង image file ។
តើទំព័រនេះមានប្រយោជន៍ទេ?