Placeholder images help test layouts before final assets arrive. Generate the exact width and height expected by the component, choose a neutral color, and include a label that identifies the intended asset if the design permits. A placeholder with the wrong aspect ratio can hide future crop problems.
Test the page at multiple screen sizes. Verify the generated file's dimensions and format after export, and remove placeholders before publication. For accessibility, do not use a generic placeholder as meaningful content with a misleading alt description. Keep layout tests that simulate both small and large final images.