coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: radianation on February 15, 2007, 09:19:19 PM

Title: Batch Adding of PDF files results in partial thumbnail generation success
Post by: radianation on February 15, 2007, 09:19:19 PM
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.
Title: Re: Batch Adding of PDF files results in partial thumbnail generation success
Post by: Joachim Müller on February 15, 2007, 11:38:36 PM
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.
Title: Re: Batch Adding of PDF files results in partial thumbnail generation success
Post by: radianation on March 26, 2007, 12:09:38 AM
I think I based it off of this thread: http://forum.coppermine-gallery.net/index.php?topic=16986.0
Title: Re: Batch Adding of PDF files results in partial thumbnail generation success
Post by: Joachim Müller on March 26, 2007, 07:31:42 AM
That's an outdated mod that was meant for cpg1.3.x and goes unsupported.
Title: Re: Batch Adding of PDF files results in partial thumbnail generation success
Post by: radianation on March 26, 2007, 07:35:24 PM
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?  :)