coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: bb4red on August 10, 2004, 04:28:43 PM

Title: Uploading my own Thumbnails
Post by: bb4red on August 10, 2004, 04:28:43 PM
I've asked this question before, but it was on the wrong board... :-[ Hopefully I've gotten it right this time :D *fingers crossed*

I was wondering if it's possible for me to upload my thumbnails and intermediate pictures at the same time as I upload my images instead of coppermine creating it's own thumbnails/intermediates? I find uploading the thumbnails via FTP can take forever!  (By the way all the pictures and intermediates will be in .jpg format and the thumbnails in .gif format)

I use Coppermine 1.3.0 and my website is located at http://www.visualise-it.org/coppermine - please note the layout is under construction so go easy on me!  ;)

All help is apreciated! :)
Title: Re: Uploading my own Thumbnails
Post by: Joachim Müller on August 10, 2004, 04:37:04 PM
I don't understand why you wouldn't want coppermine to create the thumbnails and intermediates for you, it's one of the main reasons to actually use coppermine imo.
You (as coppermine admin) should always use ftp-upload and batch-add, as it's the fasted method to upload and add multiple files to your coppermine gallery.
If you want to upload both the original pic, the intermediate and the thumbs manually (remember, there's a naming convetion you have to stick to), you could disable the creating of thumbs and intermediates completely, so that coppermine only creates the database entries during the upload/batch-add process.

I think your desire to skip thumbnail creation is based on some misconception, maybe we can shed light into this if you tell us why you don't want coppermine to create the thumbs? They won't hurt, and if you're not happy, you can always overwrite them with custom thumbnails.

GauGau
Title: Re: Uploading my own Thumbnails
Post by: Throck on August 29, 2004, 02:29:20 PM
One reason to do this is if your server doesn't have the "horsepower" to do the image processing.

I do the same thing myself.  My web server is a Celeron 333 with 512MB.  Trying to batch add more than just a few images takes WAY too much time, if it succeeds at all.  To work around this, I have a second installation CPG on a faster machine that I do a batch-add on, then copy everything from the /albums/whatever folder to the appropriate folder on the web server and do a batch-add there.  Since the image processing has already been done, the batch-add goes quickly and smoothly.

In my case though, all my servers are local, so no FTPing is involved.
Title: Re: Uploading my own Thumbnails
Post by: Joachim Müller on August 29, 2004, 02:44:53 PM
This is not a recommended workaround, I recommend a regular client batch-resize tool like IrfanView then in your case. Please understand that there can only be very limited support if you don't have the minimum requirements for coppermine...
You will just have to comment out the code that does create the intermediates and thumbs in searchnew.php

Joachim
Title: Re: Uploading my own Thumbnails
Post by: Throck on August 29, 2004, 03:31:27 PM
QuoteWhat are the minimum requirements for the use of Coppermine 1.3.0 ?

any webserver, Apache recommended (Coppermine has been reported to work with Apache, Microsoft Internet Information Server (IIS), Roxen WebServer, Abyss, JanaServer)
PHP 4.1.0 or better
GD lib or Image Magick
mySQL 3.23.23 or better (4.x recommended). Don't confuse the client api version (which is shown in phpinfo) with the mySQL version!

I do meet the minimum requirements.  I don't see anything about processor speed or memory listed.  What do you recommend?

And as far as commenting out the code in searchnew.php, is that necessary?  I do use the feature on my main installation when it's just for a few files.  When I place the thumb and intermediate images as well, CPG does not try to recreate them.  It seems I have the best of both worlds, and it is working well.

Of course, you obviously know better than I what problems there may be, so I will certainly do what ever you recommend.
Title: Re: Uploading my own Thumbnails
Post by: Joachim Müller on August 29, 2004, 09:46:46 PM
well, if it works for you I wouldn't change a thing.

Joachim
Title: Re: Uploading my own Thumbnails
Post by: Throck on August 29, 2004, 09:49:54 PM
Per your suggestion, I've been looking at "IrfanView".  What a wonderful bit of software.  I see why you recommended it.  I think it will suit my needs much better, and make life easier at the same time.