Batch Adding of PDF files results in partial thumbnail generation success Batch Adding of PDF files results in partial thumbnail generation success
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Batch Adding of PDF files results in partial thumbnail generation success

Started by radianation, February 15, 2007, 09:19:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

radianation

I have a custom hack for Coppermine that uses imagemagick/gs to create JPG thumbnails and preview images of my uploaded PDFs. It works great when uploading files one at a time (or 5 at a time through the upload process). However, when when I try to batch upload these files I get about 25% success rate. The thumbnails and medium sized preview images just aren't generated, almost at random. I get the impression that the batch script is getting ahead of the conversion process, but I'm not entirely certain.

Does anybody else have this problem? I created my hack based on an older hack here for 1.3x and adapted it to 1.4.8 (my version).

Thanks in advance for any help, and I hope I've posted this in the right area.

Joachim Müller

Do you use a custom hack that you came up with or do you use one of the mods posted on this board? If you use a hack posted on this board, post a link to the corresponding thread for reference.

radianation


Joachim Müller

That's an outdated mod that was meant for cpg1.3.x and goes unsupported.

radianation

Correct, I modified it and made it compatible with 1.4.x. I'm just having some difficulty now after doing large batch processing. I can post my modification if anybody is interested in helping me make it work 100% all the time. Then perhaps it can be a supported mod again?  :)