You are here

README.txt in PDFPreview 7

Same filename and directory in other branches
  1. 6 README.txt
  2. 7.2 README.txt
This module lets you show a preview of PDF files uploaded through File field.
This module uses ImageMagick to extract the first page of a PDF file to a JPEG
image which is used as PDF preview link to the file. If imagecache module is
available, you can select any imagecache preset for the PDF preview image link.

Instead of convert pdf files onto a set of images like PDF to ImageField does,
and lost any connection to the PDF file, PDFPreview extract only the first page
and uses it as link to PDF file. The images are stored on a configurable folder
inside your files folder, so it's fully compatible with multisite installations.
If the image is missing at display moment it will be created.

- Usage:
Install like any other module and enable it. Go to 'Display fields' page of your
content type and select 'PDFPreview' as formatter. If you have imagecache
enabled, you will have one 'PDFPreview: presetname image' option for each
imagecache preset you have. You can also use it as a field formatter on a Views
view.

 - Requisites:
ImageAPI module with ImageMagick toolkit enabled and configured. Is not
necessary to be set as default toolkit. FileField module and a content type
which uses it. Imagecache module if you want to use other image sizes or add
efects to thumbnails.

File

README.txt
View source
  1. This module lets you show a preview of PDF files uploaded through File field.
  2. This module uses ImageMagick to extract the first page of a PDF file to a JPEG
  3. image which is used as PDF preview link to the file. If imagecache module is
  4. available, you can select any imagecache preset for the PDF preview image link.
  5. Instead of convert pdf files onto a set of images like PDF to ImageField does,
  6. and lost any connection to the PDF file, PDFPreview extract only the first page
  7. and uses it as link to PDF file. The images are stored on a configurable folder
  8. inside your files folder, so it's fully compatible with multisite installations.
  9. If the image is missing at display moment it will be created.
  10. - Usage:
  11. Install like any other module and enable it. Go to 'Display fields' page of your
  12. content type and select 'PDFPreview' as formatter. If you have imagecache
  13. enabled, you will have one 'PDFPreview: presetname image' option for each
  14. imagecache preset you have. You can also use it as a field formatter on a Views
  15. view.
  16. - Requisites:
  17. ImageAPI module with ImageMagick toolkit enabled and configured. Is not
  18. necessary to be set as default toolkit. FileField module and a content type
  19. which uses it. Imagecache module if you want to use other image sizes or add
  20. efects to thumbnails.