Skip to main content

A Django CMS plugin for pdf embedding.

Project description

This is a plugin for [django CMS](https://www.django-cms.org/) to let users embed a PDF file on webpages.

It uses django-filer for the file upload handling.

Installation

  • Add pdfembed to INSTALLED_APPS.

  • Run manage.py migrate to apply the needed migrations.

Customization

The default template will render the PDF in an iframe with default width 100% and heigth 500px. These can be changed in the plugin creation wizard.

The template is located in /templates/pdfembed/pdf_embed.html and can also on that location be overwritten in your own project.

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

djangocms-pdfembed-0.2.tar.gz (4.5 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