Skip to content

Latest commit

 

History

History
12 lines (6 loc) · 693 Bytes

README.md

File metadata and controls

12 lines (6 loc) · 693 Bytes

Introduction

Diggity NodeJS app for executing functions on FiB Cloud to generate thumbnails on real-time image upload.

Overview

The thumbnail generation is performed using ImagMagick which is installed by default on all Cloud Functions instances. This is a CLI so we execute the command from node using the child-process-promise package. The image is first downloaded locally from the Cloud Storage bucket to the tmp folder using the google-cloud SDK.

Trigger rules

The function triggers on upload of any file to your FiB project's default Cloud Storage bucket.