Advanced search  

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]

Pages: [1]   Go Down

Author Topic: [Solved]: Unable to create thumbnail or resize image.  (Read 4772 times)

0 Members and 1 Guest are viewing this topic.

ucillian

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
[Solved]: Unable to create thumbnail or resize image.
« 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:

Quote
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.
« Last Edit: May 19, 2008, 10:51:19 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: Unable to create thumbnail or resize image.
« Reply #1 on: May 19, 2008, 03:56:35 am »

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

ucillian

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Unable to create thumbnail or resize image.
« Reply #2 on: May 19, 2008, 12:01:00 pm »

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:

Quote
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
Logged

Nibbler

  • Guest
Re: Unable to create thumbnail or resize image.
« Reply #3 on: May 19, 2008, 12:08:32 pm »

Make sure you have the correct 'resize method' set in config.

What's it set to?
Logged

ucillian

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Unable to create thumbnail or resize image.
« Reply #4 on: May 19, 2008, 10:01:57 pm »

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

Quote
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
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Unable to create thumbnail or resize image.
« Reply #5 on: May 19, 2008, 10:04:40 pm »

Its called "Method for resizing images", its under - Config > Files and thumbnails advanced settings  > Method for resizing images
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Unable to create thumbnail or resize image.
« Reply #6 on: May 19, 2008, 10:14:16 pm »

Oh!  Thank you.

It's set on Image Magick.
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Unable to create thumbnail or resize image.
« Reply #7 on: May 19, 2008, 10:32:23 pm »

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

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Unable to create thumbnail or resize image.
« Reply #8 on: May 19, 2008, 10:40:46 pm »

!!!!!

Amazing.  It works.  THANK YOU!
Logged
Pages: [1]   Go Up
 

Page created in 0.036 seconds with 19 queries.