← Về thư mục
📄 / / projects / tech / OpenMAIC / app / packages / @openmaic / generation / snippets / slide-image-instructions.md

ImageElement

{
  "id": "image_001",
  "type": "image",
  "left": 100,
  "top": 150,
  "width": 400,
  "height": 300,
  "src": "img_1",
  "fixedRatio": true
}

Required Fields: id, type, left, top, width, height, src (source image ID like "img_1"), fixedRatio (always true)

Source Image Sizing Rules (keep original aspect ratio):