GithubHelp home page GithubHelp logo

pdfpreview's Introduction

CONTENTS OF THIS FILE

  • Introduction
  • Requirements
  • Installation
  • Configuration
  • Maintainers

INTRODUCTION

The PDFPreview module shows a preview of PDF files uploaded through File Field.

This module provides a formatter which uses ImageMagick to extract the first page of a PDF file to a JPG or PNG image which is used to link to the file.

REQUIREMENTS

This module requires the following outside of Drupal core.

ImageMagick needs to be installed on your server and the convert binary needs to be accessible and executable from PHP. For more information visit the ImageMagick project page.

Please note: Imagemagick doesn't need to be the default toolkit, but the module does need to be installed.

INSTALLATION

CONFIGURATION

1. Navigate to Administration > Extend and enable the module and its
   dependencies.
2. Navigate to Administration > Structure > Content Type > [Content Type to
   edit] > Manage Display. Select 'PDFPreview' as the formatter of a file
   field.
3. Use the configuration gear to display formatter settings to configure.
4. Navigate to Administration > Configuration > PDF Preview to set up the
   preview path, preview size, image quality, and preview image type.
5. Save configuration.

MAINTAINERS

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.