coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: scottb on December 13, 2005, 04:28:04 AM

Title: problem with intermediate pictures
Post by: scottb on December 13, 2005, 04:28:04 AM
hey,

when uploading images that have dimensions greater than my set max intermediate size (600 pixels), i get this error:

The file 'albums/userpics/10001/2.JPG' can't be inserted in the album

Unable to create thumbnail or reduced size image.

Warning: chmod(): No such file or directory in /home/drunkstr/public_html/cpg/include/picmgmt.inc.php on line 224

Warning: getimagesize(albums/userpics/10001/normal_2.JPG): failed to open stream: No such file or directory in /home/drunkstr/public_html/cpg/include/picmgmt.inc.php on line 226

however, if i set my max intermediate size to a huge amount (2500), the picture uploads fine, but this obviously causes all intermediate pictures on my site to be displayed as way too big. any work around for this? thanks. :)
Title: Re: problem with intermediate pictures
Post by: Joachim Müller on December 13, 2005, 08:44:43 AM
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
Title: Re: problem with intermediate pictures
Post by: scottb on December 13, 2005, 10:27:59 PM
thanks very much for the reply. here is the output:

USER:
------------------
Array
(
    [ID] => 670f4d4af7cba42fd027bc376453533a
    [am] => 1
    [liv] => Array
        (
           
Title: Re: problem with intermediate pictures
Post by: kegobeer on December 14, 2005, 12:09:24 AM
Unable to create thumbnail or reduced size image. (http://forum.coppermine-gallery.net/index.php?topic=23342.0)