Image Importer creates a procedure that reads a folder content and import images into Drupal system.

With this module you can perform mass imports directly to configurable content type image field.

You only have to upload, using your favorite FTP client, the desired folders and images to configurable base path. Apply a little configuration and execute import process from default administration content page.

INSTALLATION / CONFIGURATION

Install module as usual.

Browse the Configuration > Content > Image importer configuration (url: /admin/config/content/image_importer).

In the settings form you have to set:

  • Base folder path: Indicates the path from drupal root directory.
  • Affected fields: Checkbox list with all system images field with unlimited cardinality.
  • Cron execute: Indicates if import execute with cron task.
  • Basic information with import results on screen (User execution).
  • System registry entries of every import process and main actions.

MODULE PERMISSION

There is a special permission for this module. Browse the People > Permission Tab
(url: /admin/people/permissions).

Add the 'Use image importer' permission for the desired roles.

IMAGE IMPORT PROCESS

In order to run the image import process you have to follow the steps:

  • Upload desired and folders and files to the specified path in settings form.
    • Version 1.x provided only 1 import method (folders name represent the node id).
  • Go to Content page (url: /admin/content) and click the 'Import images from FTP folder' link to begin import the process.

RELEASES

Version 1.0 Features

  • Only Node Entities Allowed
  • Configurable base path
  • Configurable fields to import (expected unlimited image fields)
  • Support for media module title
  • Support for translated nodes with i18n module

Version 1.0 Import methods

Version 1.0 only have one import method. With this method module expects the following content in the base folder path:

  • Collection of folders (folder name represents the node id)
  • Images inside numeric folders
  • 777 FOLDER PERMISSIONS FOR ALL BASE PATH (RECURSIBELY)

Other modules

Some people can use modules like migrate to mass import images. Migrate requires development knowledge to create a specific importer submodule for each import case. Image Importer is not only for advanced users, allowing easy mass import directly from disk. Migrate has much broader uses.

In addition, migrate module is designed for migrations that usually uses databases. In contrast image importer perform mass import directly from disk.

Project information

Releases