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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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?  :)