This project is not covered by Drupal’s security advisory policy.

Summary

Introduction:

Image catcher is a lightweight service allowing you to create images files from external URL or base64 source.
Supported extensions: gif, jpeg, jpg, png

To submit bug reports and feature suggestions, or to track changes: https://drupal.org/project/issues/image_catcher

Requirements:

Installation

Install as you would normally install a contributed Drupal module.

Configuration

There's no configuration needed at all.

How to use it

This module provides two main methods through one service :

  • image_catcher.file_manager
    • createFromBase64(string $image_base64, string $dir_name, string $image_name)
    • createFromUrl(string $image_url, string $dir_name)
    • Each of these methods will return a File id if it has been created or FALSE.

Read more about Services and dependency injection in Drupal 8

Mainteners

Current maintainers:

Project information

Releases