Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

PDF Thumbnail creation, batch and recursive: how?
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=4449
Page 1 of 1

Author:  ami6 [ 18. Oct 2017, 15:36 ]
Post subject:  PDF Thumbnail creation, batch and recursive: how?

Hi Michael, quick question - i have taken over a library of PDF files and would like to use TWG to display them and for download.

As the files were not uploaded individually but rather FTP'd into the directory, is there any way to create / run a batch job to provide the PDF preview JPG's, recursively for all directories containing the PDF's?

Any pointer would be very much appreciated.

thx a lot!

Author:  TinyWebGallery [ 18. Oct 2017, 22:48 ]
Post subject:  Re: PDF Thumbnail creation, batch and recursive: how?

Check $other_file_formats_previews

In the administration you can already create previews for pdfs.

Best, Michael

Author:  ami6 [ 19. Oct 2017, 07:54 ]
Post subject:  Re: PDF Thumbnail creation, batch and recursive: how?

Hi,

Seems i am too dumb or somehow did overlook it:

How can i create PDF previews in the admin section? (I would like to see an individual first page preview bitmap not a standardized pdf symbol for all)

The explanation for $other_file_formats_previews does not really explain the handling, either...

Thx again in advance for your great support!

Author:  TinyWebGallery [ 19. Oct 2017, 09:13 ]
Post subject:  Re: PDF Thumbnail creation, batch and recursive: how?

Only a standardized image is supported. You would have to extend this if you like more...
But I have this functionality already for the Flash uploader if you have image magick.

For videos there images from the movie are already extracted.
And this is a feature for registered users. so this is why you don't see this...

Best, Michael


Best, Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/