Skip to content

abuhamza/Drupal-ViewerJs

 
 

Repository files navigation

CONTENTS OF THIS FILE

  • Introduction
  • Requirements
  • Installation
  • Configuration

INTRODUCTION

This module provide field formatter to display file or image using ViewerJS library. ViewerJS must be the easiest way to use presentations, spreadsheets, PDF's and other documents on your website or blog without any external dependencies. It can work offline, doesn't depend on any third party services or might be (perceived as) invasive to the privacy of your users. Supported files : pdf, odt, odp, ods, fodt, jpg, jpeg, png, gif

REQUIREMENTS

This module requires the following modules and libraries:

INSTALLATION VIA DRUSH

A Drush command is provided in the latest versions for easy installation of the ViewerJS plugin. drush viewerjs-plugin The command will download the plugin and unpack it in "sites/all/libraries". It is possible to add another path as an option to the command, but not recommended unless you know what you are doing.

INSTALLATION

CONFIGURATION

  • Go to your Structure > Content Types > [your-content-type] > Manage display;
  • Create or use existing image or file field;
  • Choose ViewerJs Default format and configure options.

About

Drupal module that allow the display of file/image fields with Viewerjs.org

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 69.8%
  • JavaScript 24.8%
  • PHP 5.4%