HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


PDFs in galleries

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#75297 (In Topic #15608)
Avatar

Community saint

Is it possible to use PDFs in galleries. I tried uploading one and got an error even though I set PDF as an acceptable file type for images. How can you present multi-page documents in the gallery?

Bob
Back to the top
 
Posted
Rating:
#75307
Avatar

Community saint

BobS said

Is it possible to use PDFs in galleries.
Not without making some decent code changes by the looks of things (just had a quick look at the code).
I tried uploading one and got an error even though I set PDF as an acceptable file type for images.
That is only the first level filter. Adding PDF there is not going to tell the code how to deal with it, just that there is code to deal with it (which there ain't).
How can you present multi-page documents in the gallery?
That would require third party code.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#75310
Avatar

Community saint

Well, darn it.

I have several multipage documents that I would like to present as a single document. I could do multi-page TIFFs but I don't think any browsers support them.

Bob
Back to the top
 
Posted
Rating:
#75313
Avatar

Community saint

BobS said

I could do multi-page TIFFs but I don't think any browsers support them.
That's my understanding as well, but at least there are plugins available, like the one discussed here: How to embed TIFF files in HTML documents .

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#75315
Avatar

Community saint

Unfortunately, it's Windows-only.

I think I brought this up once before but a forum search found nothing.

It seems to me that we really need official support for PDFs in galleries (and probably catalogs, too). This would make multi-page document support easy.

Bob
Back to the top
 
Posted
Rating:
#75317
Avatar

Community saint

BobS said

Unfortunately, it's Windows-only.
OK. That sucks then.
It seems to me that we really need official support for PDFs in galleries
But I think most people, myself included, would not consider PDF an image format and therefore it is not really appropriate for galleries.
and probably catalogs, too
That is a different story and PDF support there I think is appropriate.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#75318
Avatar

Community saint

temp1024 said

But I think most people, myself included, would not consider PDF an image format and therefore it is not really appropriate for galleries.
I thought of that and maybe I am just responding to my personal needs.

I have copies of documents related to Julian's life that I want to present. Many of these are multi-page (the army seems to not only have needed everything in triplicate but could not even issue a commendation in a single page). I really want these as part of the "scrapbook" which I've done in the galleries; perhaps I need to think about moving these to catalogs too (which, strangely, would have obviated my need for tracker item #134).

EDIT: This gets me right back to where I was a while back when suggesting that catalogs should be the center of the system with the gallery implemented as a presentation method available for catalogs (essentially, just another display format).

Bob


Last edit: by BobS
Back to the top
 
Posted
Rating:
#75319
Avatar

Community saint

BobS said

I thought of that and maybe I am just responding to my personal needs.
No maybe about it :lol: .
catalogs should be the center of the system with the gallery implemented as a presentation method available for catalogs (essentially, just another display format).
Agreed. The catalogue system is our structured data store and we should be able to display it (relatively easily) in any way that suits our needs via templates.

I'm sure the reason its not is purely historical.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#75320
Avatar

Community saint

temp1024 said

BobS said

I thought of that and maybe I am just responding to my personal needs.
No maybe about it :lol: .
Based on the number of tools to convert from PDF to image formats, I suppose you are right. Or maybe this is just a demonstration of an unfulfilled need - support for PDFs in image galleries.

Bob
Back to the top
 
Posted
Rating:
#75391
Avatar

Community saint

This has got me really stymied. I currently have 7 multi-page documents that I want to put into the Document Scrapbook but cannot think of any way to "package" them except by creating subdirectories which will be ugly.

I'm back to thinking that galleries should support PDFs: If you accept that images are a visual depiction of a real-life object than my PDFs are images.   :P

Putting aside any debate on that issue, I'm wondering if Chris would even consider doing this on a paid basis and including it in the distribution.

Bob
Back to the top
 
Posted
Rating:
#75401
Avatar

Community saint

BobS said

…except by creating subdirectories which will be ugly.
or maybe you could just name them bla_bla_x_of_y.
If you accept that images are a visual depiction of a real-life object than my PDFs are images.   :P
PDF is a document format, not an image format.
I'm wondering if Chris would even consider doing this on a paid basis
I can't see why he wouldn't, a job is a job.
and including it in the distribution.
That can go either way. While there is no overwhelming argument for it to be an ocPortal sponsored update, I think that there is merit for it to be included in the official distribution if funded by a third party. The only reason it might not make it is if Chris thinks that there may be ongoing maintenance issues.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#75403
Avatar

Community saint

temp1024 said

BobS said

…except by creating subdirectories which will be ugly.
or maybe you could just name them bla_bla_x_of_y.
That's what i think would be ugly….especially with flow-mode. I still haven't got around to making the new thumbnails to normalize the images on a grid. Even then, it would still be ugly.

I just like things nice and orderly…no loose-leaf pamphlets for me, I want them stapled.  :)

Bob
Back to the top
 
Posted
Rating:
#75408
Avatar

Sure, I would approve of ocPortal having a PDF handler in galleries and could do it with a couple of hours work. I think it would need to be done by putting the PDF in an iframe, letting the browser (Chrome) or PDF plugin (other browsers) then render that. For a client we implemented a flip viewer for PDF files on top of the download system, but this requires certain software installed on the server to do the conversion.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#75409
Avatar

Actually all this said, there may be easy to use desktop/webapp pdf->swf converters out there, and I think the gallery does support swf.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#75429
Avatar

Community saint

Chris-

I like both the answers above.

Just to clarify, if I opted for the first option, would it be included in subsequent releases?

I'm going to check out you second idea - that sounds like it may be a great solution.

Bob
Back to the top
 
Posted
Rating:
#75431
Avatar

yes


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#75465
Avatar

Community saint

I've asked Chris to proceed with making the changes necessary to display PDFs in galleries.

I looked around for a PDF to Flash converter and the least expensive one I could find for the Mac was almost two-thirds of the price to have Chris do the coding, and it would have left me with images that are not viewable on iOS devices (specifically, the iPad).

Chris won't be able to get this done until a couple of weeks because they are busy (YEAH!!) but I hope that others benefit from this change too.

Bob
Back to the top
 
Posted
Rating:
#75471
Avatar

Community saint

FlipPagemaker PDF to Flash - freeware



Convert PDF Document to Cool online Flash Book

  • Turn Adobe PDF documentsto Digital Flash Book.
  • Automating the Process of Converting Office to PDF.
  • Work with Hot Directories and Command-Line mode to convert PDF to Flash
  • Unlimited conversions without paying royalties.
    Download
  • Introducion



FlipPagemaker PDF to Flash is a free utility to allow you to batch convert Adobe PDF documents into Flash Book in one easy step! Give your sales catalogues, brochures, eBooks and digital magazines the edge! Support hot directory monitor and connamd line mode.

FlipPagemaker PDF to Flash is a stand-alone product, it can convert PDF files to Flash files (SWF files) without require Adobe Acrobat, Adobe Reader or any other third part products, it can convert PDF files to Flash files quickly. It does support all version of PDF files. It can create high quality and scaleable Flash files from PDF files.




I've used 'FlipBook' in the past with much success. only stopped using it when I found that my 'visitors' were less than appreciative (in some cases downright unaware) about the work involved converting. But this won't be an issue for you, because you already have an appreciative audience.

BTW, this is the link if you are still interested, or as a stop-gap utility until Chris has produced the goodies.


Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#75472
Avatar

Community saint

Fletch-

I looked at that yesterday when I was reviewing my options.

The first problem for me is that it is PC-only (I use a Mac). There are no free utilities for the Mac and the least expensive option was 60% of the cost of having Chris code it. I just think having the code added to the galleries is the best solution overall.

The second issue is that it would be a stop-gap measure which would be of no value to people using iOS devices (I have quite a few iPad users who visit the site). An then I might have to deal with changing URLs because of the change in file extensions.

But thanks for trying to find a temporary solution.
Back to the top
 
Posted
Rating:
#75473
Avatar

Community saint

BobS said

  • 1. …it is PC-only (I use a Mac).
  • 2. I just think having the code added to the galleries is the best solution overall.
1. Darn! Oversight. I read that as well in your post.
2. You bet!

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Expand