You have a few solution. You already excluded the user downloading the full document. You can display the document directly in your page, with solution like pdfjs, or you can extract the individual image from the document on your server and display directly the image.
If you show the pdf, I fear your only solution is that the user download the whole document in their browser. Same problem as with downloading the full document. A solution would be to split the document into individual page. 2016-09-03 19:11 GMT+02:00 Gary Roach <gary719_li...@verizon.net>: > Hi all, > > I am working on a project where I need to serve up large (100 -150 MB) > static pdf files for viewing. The pdf files are jpg photos of pages from old > log books. Downloading into the user's system is out of the question for > obvious reasons. In addition the user may only need to see one or two pages > out of a document. I plan on putting the static files in their own directory > outside of the django programming and the postgresql database. I have looked > at several addons to django but can't seem to get a "feel" for the whole > problem. Has anyone had a similar problem and do they have a good solution . > > All help will be sincerely appreciated. > > OS Debian Linux > Desktop KDE4 > Python 3.5 > Django 1.9.x > > Gary R. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/b5e154b5-3c01-6f39-f4a1-6e285093aa45%40verizon.net. > For more options, visit https://groups.google.com/d/optout. -- Cordialement, Coues Ludovic +336 148 743 42 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAEuG%2BTbmgJVmMy4%3DxTZVedawYmfxp7HF0MeDXWxq878G0pQoqw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.