Savyant Systems ERPNext company
Request a demo →
Smart Attachment Import app icon

Smart Attachment Import Bulk image import for ERPNext: one workbook, every photo

Publisher
Savyant Systems
Supported versions
ERPNext v16
Categories
Data

About

Smart Attachment Import is a Savyant Systems app for ERPNext v16 that attaches images to records in bulk from one Excel workbook. A cell can hold a pasted picture, a file name inside a zip, a web address or a site file. The app maps the columns, previews the rows, imports in background batches and lets you retry only the rows that failed.

Smart Attachment Import puts product photos on the right ERPNext records in one step. Give it one Excel workbook, with a zip file if it names image files, check the mapping and preview, and the app attaches the images in background batches.

At a glance

  • Built for: ERPNext v16, as a Frappe app
  • Input: One .xlsx workbook, plus a .zip when the sheet names image files
  • Image sources: Pictures pasted in cells, file names in the zip, web addresses and files already on the site
  • Matching: Each row is matched to a record by the identifier you choose, such as Item Code
  • Processing: Background worker, in batches of 200 rows by default
  • Errors: Every image is its own row, with a failure report and retry for failed rows only
  • File types: jpg, jpeg, png, gif and webp, with a size limit you set (10 MB in the demo)
  • Safety: Runs only if you may write to the records; web downloads are off until enabled

Standard bulk images are two separate jobs

  • Zip and upload: Pack every photo into a zip file and upload it to the File Manager.
  • Second Data Import: Build a sheet with the exact file path for every row, then import again.
  • One wrong name: A single file that is not found sends you back to fix the sheet and run it again.

With a few hundred items this is slow. With thousands it becomes a project of its own.

A cell can hold an image four ways

  1. Picture pasted in the cell: Taken out of the workbook.
  2. File name: Read from the companion zip file.
  3. Web address: Downloaded, if you turn downloads on.
  4. Site file: Reused from the site, not copied.

One workbook can mix all four.

Video walkthrough

Smart Attachment Import for ERPNext v16: one workbook, every image
Video chapters (16)

The process: upload, map, import, fix and retry

Four steps take a spreadsheet of product photos to images on the right ERPNext records.

1. Upload

Bulk Image Import

  • Choose the target DocType, for example Item
  • Choose which field the identifier column matches, for example Item Code
  • Attach the .xlsx workbook, and a .zip if it names image files
  • Click Read Workbook

In the demo workbook, 8 rows have a picture pasted into the cell, 16 rows name a file in the zip and 5 rows add a second, gallery image.

Excel workbook with item codes, pictures pasted in cells and image file names
One workbook with pasted pictures, file names and gallery photos.

2. Map

Column mapping

  • The app reads the sheet and suggests a role for each column
  • Document Identifier finds the record; Image columns set a field or are attached only
  • Check the preview of every row before anything is written

In the demo, Item Code became the document identifier, Product Photo set the Item image and Gallery Photos were attached only.

Column mapping screen in Smart Attachment Import with roles and target fields
The suggested mapping, ready to change.

3. Import

Attachment Import Job

  • Each image is staged as its own import row
  • A background worker on the long queue attaches them in batches
  • Each batch is saved before the next starts, and the job shows live progress

The demo job found 29 images, attached 28 and reported 1 failure, in about 2 seconds.

Attachment Import Job in ERPNext showing images found, attached, skipped and failed
Progress on the import job: found, attached, skipped and failed.

4. Fix and retry

Failure report

  • Show Failures names the row, the identifier and the reason
  • Download the failure report and correct only those rows
  • Attach the corrected file and click Retry Failed Rows

In the demo one file was missing from the zip. After the archive was updated, only that row ran again and all 29 images were attached.

Failed import row in Smart Attachment Import with Retry Failed Rows and Download Failure Report
Exactly what went wrong, and a retry for those rows only.

Features

  • Four image sources: Pasted pictures, zip file names, web addresses and site files
  • Auto mapping: The app reads the sheet and suggests each column role
  • Preview first: See every row before anything is written
  • Background batches: Saved batch by batch, with live progress
  • Retry failed rows: Failure report, fix and run only those rows
  • Safe by default: Your permissions apply and web downloads start off

Standard ERPNext import and Smart Attachment Import

Standard ERPNextWith Smart Attachment Import
StepsUpload files first, then run a Data Import with file pathsOne workbook, with a zip only if it names files
Pictures pasted into ExcelNot read by Data ImportTaken out of the workbook and attached
CheckingErrors appear after the importMapping and preview before anything is written
A wrong file nameFix the sheet and import againDownload the failure report and retry only those rows
Large batchesOne import runBackground batches with saved progress

The catalogue, with photos

Images land on the records your team already uses.

  • Image view: Every item in the group shows its photo.
  • Main image: A mapped image column sets the Item image.
  • Attachments: Gallery photos are attached to the same record.
  • One row per image: Each image has its own status and target document.
ERPNext Item image view showing hardware items with their product photos
Item image view after the import. Product photos: Wikimedia Commons contributors (CC BY, CC BY-SA, public domain).
Attachment Import Row list in ERPNext with a status for each image
One import row per image, with row number, status and document.

Safe by default

The settings decide what can be imported and from where.

  • Your permissions: An import starts only if you may write to the records, and files are created as you.
  • Web downloads off: They stay off until someone enables them.
  • Internal addresses refused: Addresses inside the server's own network are always refused.
  • Real image check: File type, extension and size limits are checked.
  • Duplicates: Choose what happens when a record already holds the same image.
  • Private files: Attach as private so only users who may read the record can see the file.
Attachment Import Settings with batch size, maximum image size, allowed extensions and web download option
Attachment Import Settings: limits and sources.

What the demo shows

  • 29Images from one workbookAttached in about 2 seconds
  • 1Row retriedOnly what failed ran again
  • 10,000Images per jobWhat the app is designed for

Figures from the sample data in the walkthrough video. Your timings depend on image sizes and your server.

How Savyant sets it up

  1. Review: Which records need images, where the files are today and how they are named.
  2. Install: Install the app and set limits, allowed sources and permissions.
  3. Trial: Import a sample workbook on staging and fix naming gaps.
  4. Go live: Run the full import and train whoever maintains the catalogue.

Who it is for

  • Retail, distribution and e-commerce teams with large item catalogues
  • Manufacturers adding drawings or product photos to items
  • Teams moving to ERPNext with images in spreadsheets and folders
  • Anyone who maintains item photos in bulk

Problems it removes

  • Photos added to items one by one
  • A second Data Import just for file paths
  • One wrong file name stopping the work
  • No clear list of which images failed and why

Smart Attachment Import: common questions

How do I bulk upload item images in ERPNext?

With Smart Attachment Import you put the item codes and images in one Excel workbook, add a zip file if the sheet names image files, check the mapping and preview, and start the import.

Can it read pictures pasted into Excel cells?

Yes. Pictures pasted into cells are taken out of the workbook and attached to the matching record. A cell can also hold a file name from the zip, a web address or a file already on the site.

What happens if some images fail?

Each image is its own import row. You can show the failures, download a failure report, correct those rows or the zip file, and retry only the failed rows.

Does it work for large catalogues?

Images are attached in the background in batches, and each batch is saved before the next. The app is designed for jobs of 10,000 images; actual speed depends on image sizes and your server.

Which file types are allowed?

jpg, jpeg, png, gif and webp by default. The allowed extensions and the maximum image size are settings you control.

Is downloading images from the web safe?

Web downloads are off until enabled, and addresses inside the server's own network are always refused.

Which version of ERPNext do I need?

The app is built for ERPNext v16.

Related

Updated 2 December 2026 by Savyant Systems, an ERPNext and Frappe implementation company based in India.

See it on your own data

Have a catalogue without photos, or a folder of images waiting to be uploaded? Tell us how your files are named, and we will show an import on your data.

Request a Smart Attachment Import demo
← Explore more apps