delphian / drupal-convert-file

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


Languages

Language:PHP 97.4%Language:JavaScript 2.6%