thumbnail files creation. thumbnail files creation.
 

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

thumbnail files creation.

Started by Shurik_A, December 24, 2004, 02:51:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Shurik_A

How thumbnail files are created?

Hein Traag

Thumbnails are created by coppermine itself once you upload a picture and add it to a album.

Shurik_A

I mean more specific:
What code exactly does it?

Nibbler

Image manipulation is done by either GD or IM, as set in config.

Hein Traag

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 ?

Shurik_A

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?

Nibbler

There is a resize_image() function in include/picmgmt.inc.php for normal uploading and showthumb.php handles batch adding.

Shurik_A

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