[Solved]: Unable to create thumbnail or resize image. [Solved]: Unable to create thumbnail or resize image.
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: Unable to create thumbnail or resize image.

Started by ucillian, May 19, 2008, 12:02:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ucillian

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:

QuoteThe 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.

Nibbler

What PHP file? Your gallery is way of date - update. Make sure you have the correct 'resize method' set in config.

ucillian

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:

QuoteThe 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

Nibbler

Quote from: Nibbler on May 19, 2008, 03:56:35 AM
Make sure you have the correct 'resize method' set in config.

What's it set to?

ucillian

Is that the exact title of the label in Config?  I can't seem to find it.  Is this what you mean?

QuoteQuality 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

just_some_guy

Its called "Method for resizing images", its under - Config > Files and thumbnails advanced settings  > Method for resizing images
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

ucillian

Oh!  Thank you.

It's set on Image Magick.

just_some_guy

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.
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

ucillian