Skip to content

A Drupal widget that will automatically convert an uploaded file or image to pdf, or other sundry formats, before being saved by drupal.

Notifications You must be signed in to change notification settings

delphian/drupal-convert-file

Repository files navigation

Please see this original document at https://github.com/delphian/drupal-convert-file/wiki

Drupal Convert File is a Drupal 7 module to automatically or manually convert existing or newly uploaded files into different formats. Conversion is done with a plugin system; "providers" each contribute various "formats" to which a file may be converted. The core module comes with providers: Google Drive, and ImageMagick. Two widgets will be installed: Convert File for file field types, and Convert Image for image field types. Field settings will have two new drop down options. The first selects the provider that will deal with transformation, the second specifies what format the provider should convert to.

Features

Requirements

  • Drupal modules: Rules, Entity tokens, Entity API
  • cURL PHP extension

Installation

  1. Clone repository into sites/all/modules/custom/ git clone --recursive git://github.com/delphian/drupal-convert-file.git.
  2. Enable modules drush en convertfile cf_googledrive cf_convertfile cf_imagemagick -y.
  3. Configure providers Google Drive or ImageMagick.
  4. Assign Convert File widget to file field.

Documentation & Help

Feel free to contact me bryan.hazelbaker@gmail.com with any questions.

About

A Drupal widget that will automatically convert an uploaded file or image to pdf, or other sundry formats, before being saved by drupal.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published