Skip to main content

A Plone product that generates image thumbnail previewsof PDF files stored on ATCT based objects.

Project description

Introduction
============

A Plone product that generates image thumbnail previews of PDF files uploaded
to Archetypes based content objects.

This product, when installed in a Plone 3.x site, will automatically generate
preview and thumbnail images of each page of uploaded PDF files and store
them annotated onto the content object containing the pdf file.

Requires GNU ghostscript, PyPDF and PIL!

The image generation currently takes place on object modified events.
I am working on an implementation with a clock server process.
This way the user does not have to wait for the images to be generated.

- Code repository: https://svn.plone.org/svn/collective/collective.pdfpeek
- Questions and comments to db@davidbrenneman.com
- Report bugs to db@davidbrenneman.com

Changelog
=========

0.11 (2009-10-25)
---------------

- Bugfix release.
[dbrenneman]

0.10 (2009-10-25)
-----------------

- Added code to check for EOF at the end of the pdf file data string and to
insert one if it is not there. Fixes many corrupt pdf files.
[dbrenneman]

0.9 (2009-10-13)
----------------

- Fixed another bug in the transform code to allow functioning with any
filefield, as long as it is called file.
[dbrenneman]

0.8 (2009-10-13)
----------------

- Fixed a bug in the transform code to allow functioning with any filefield,
as long as it is called file.
[dbrenneman]

0.7 (2009-10-13)
----------------

- Streamlined transform code.
[dbrenneman]

- Added ability to toggle the pdfpeek viewlet display on and off via configlet.
[dbrenneman]

0.6 (2009-10-05)
----------------

- Bugfix release.
[dbrenneman]

0.5 (2009-10-05)
----------------

- Added control panel configlet.
[dbrenneman]

- Removed unneeded xml files from uninstall profile.
[dbrenneman]

- Optimized transform.
[dbrenneman]

- Added storage of image thumbnail along with image, generated with PIL.
[dbrenneman]

- Changed annotation to store images in a dict instead of a list.
[dbrenneman]

- Changed event handler to listen on all AT based objects instead of ATFile.
[dbrenneman]

- Added custom pdfpeek icon for configlet.
[dbrenneman]

- Added custom traverser to allow easy access to the OFS.Image.Image()
objects stored on IPDF objects.
[dbrenneman]

- Modified pdfpeek viewlet code to display images using the custom traverser.
[dbrenneman]

- Added custom scrollable gallery with tooltips using jQuery Tools to the
pdfpeek viewlet for display.
[dbrenneman]

0.4 (2009-10-01)
----------------

- Refactored storage to use OFS.Image.Image() objects instead of storing the
raw binary data in string format.
[dbrenneman]

- Refactored event handler object variable name.
[dbrenneman]

- Removed unneeded files from default GS Ext. profile.
[dbrenneman]

- Removed unneeded javascript files and associated images and css.
[dbrenneman]

0.3 - 2009-08-03
----------------

- fixed parsing of pdf files with multiple pages
[piv]

0.1 - Unreleased
----------------

- Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.pdfpeek-0.11.tar.gz (272.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page