forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: ucillian on May 19, 2008, 12:02:25 am
-
http://ucillian.com/photos
login: test
pw: test
CHMOD permissions double checked and are fine. Last successful upload was on 10 April 2008, and I found this error yesterday when trying to upload. It was only one file, not very big, and it won't upload via Batch Add process or single file upload.
Error message:
The file 'albums/userpics/10001/07.jpg' can't be inserted in the album
Unable to create thumbnail or reduced size image.
File: /home/ucillian/public_html/photos/db_input.php - Line: 391
I have the PHP file saved and it can be PMed if that's needed. Any help is appreciated.
-
What PHP file? Your gallery is way of date - update. Make sure you have the correct 'resize method' set in config.
-
I meant db_input.php where the error apparently is. I upgraded, and now when I try to Batch Add files the thumbnail doesn't even show up (even though the check box beside the file name is still there). When I try to upload the file individually, the error message says:
The file 'albums/userpics/10001/07.jpg' can't be inserted in the album
Unable to create thumbnail or reduced size image.
File: /home/ucillian/public_html/photos/db_input.php - Line: 402
-
Make sure you have the correct 'resize method' set in config.
What's it set to?
-
Is that the exact title of the label in Config? I can't seem to find it. Is this what you mean?
Quality for JPEG files : 80
Max dimension of a thumbnail ** : 100
Use dimension ( width or height or Max aspect for thumbnail ) ** : Max Aspect
Create intermediate pictures : Yes
Max width or height of an intermediate picture/video ** : 400
Max size for uploaded files (KB) : 1024
Max width or height for uploaded pictures/videos (pixels) : 2048
Auto resize images that are larger than max width or height : No
-
Its called "Method for resizing images", its under - Config > Files and thumbnails advanced settings > Method for resizing images
-
Oh! Thank you.
It's set on Image Magick.
-
You mentioned that you had last uploaded a file the 10th of April, do you know if the Image Magick has been removed from your server since then? try changing the "Method for resizing images" to GD 2 and see if it makes a difference, check your phpinfo to find out if GD is supported.
-
!!!!!
Amazing. It works. THANK YOU!