coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: Shurik_A on December 24, 2004, 02:51:21 PM

Title: thumbnail files creation.
Post by: Shurik_A on December 24, 2004, 02:51:21 PM
How thumbnail files are created?
Title: Re: thumbnail files creation.
Post by: Hein Traag on December 24, 2004, 02:58:00 PM
Thumbnails are created by coppermine itself once you upload a picture and add it to a album.
Title: Re: thumbnail files creation.
Post by: Shurik_A on December 24, 2004, 03:00:38 PM
I mean more specific:
What code exactly does it?
Title: Re: thumbnail files creation.
Post by: Nibbler on December 24, 2004, 03:04:58 PM
Image manipulation is done by either GD or IM, as set in config.
Title: Re: thumbnail files creation.
Post by: Hein Traag on December 24, 2004, 03:06:11 PM
searchnew.php look for

/**
* picrow()
*
* return the HTML code for a row to be displayed for an image
* the row contains a checkbox, the image name, a thumbnail
*
* @param  $picfile the full path of the file that contains the picture
* @param  $picid the name of the check box
* @return the HTML code
*/


should be.. what do you want to do with it ?
Title: Re: thumbnail files creation.
Post by: Shurik_A on December 24, 2004, 03:07:55 PM
Quote from: Nibbler on December 24, 2004, 03:04:58 PM
Image manipulation is done by either GD or IM, as set in config.

What file is dealing with it?
Title: Re: thumbnail files creation.
Post by: Nibbler on December 24, 2004, 03:13:37 PM
There is a resize_image() function in include/picmgmt.inc.php for normal uploading and showthumb.php handles batch adding.
Title: Re: thumbnail files creation.
Post by: Shurik_A on December 24, 2004, 03:26:04 PM
Quote from: Nibbler on December 24, 2004, 03:13:37 PM
There is a resize_image() function in include/picmgmt.inc.php for normal uploading and showthumb.php handles batch adding.

Thanks