photoshop_recipe_csv_to_cards
Data-driven graphics batch: convert a CSV file into Photoshop data sets, apply each row to the active template document and export one image per row. "Mail merge for images" — name cards, badges, certificates, personalized banners. Users often say: csv to images, batch name cards, personalized banners, generate badges from spreadsheet, sertifika bastır. CSV rules: first row = variable names matching the variables defined in the template PSD (Image > Variables > Define). A cell holding an absolute path to an image file (.png/.jpg/.webp/.tif/.psd) is treated as a pixel-replacement variable. Use when: the user has a template PSD with variable-bound layers and a CSV of rows. Do NOT use when: the document has no variables defined — define them in Photoshop first (Image > Variables > Define). Returns: { ok, summary, details: { rows, exported, output_paths, xml_path } }. Preconditions: active document with variable-bound layers; readable CSV file. Side effects: writes a temp variables XML and one output file per row into output_dir.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| csv_path | string | yes | Absolute path to the CSV file (first row = variable names) |
| output_dir | string | yes | Directory for generated files (created if missing) |
| format | string | — | Output format (default JPEG) |
Official
- CSV to cardsMail merge for images: one personalized export per CSV row from a template PSD.
Community recipes
Nothing here yet. Be the first to share one.
Share a recipe