coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: jokervx4 on September 06, 2009, 03:36:00 PM

Title: Unable to create thumbnail or reduced size image
Post by: jokervx4 on September 06, 2009, 03:36:00 PM
I have searched and read a ton of awnesrs. But I don't understand them. Upon uploading an image...I get:

The file 'albums/userpics/banner.jpg' can't be inserted in the album

Unable to create thumbnail or reduced size image.

File: /home/screensh/public_html/db_input.php - Line: 402

If anyone can help me on what to do it would be greatly appreciated !


Here is more of what is wrong..

USER:
------------------
Array
(
    [ID] => 4dbeecdfebde9fef25a885b1089b470b
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => admin
    [groups] => Array
        (
           
Title: Re: Unable to create thumbnail or reduced size image
Post by: phill104 on September 06, 2009, 03:39:11 PM
Please do everything outlined here.

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
Title: Re: Unable to create thumbnail or reduced size image
Post by: jokervx4 on September 06, 2009, 03:51:31 PM
I did that, and as the end result i was able to receive the more detailed error message which is listed above..
Title: Re: Unable to create thumbnail or reduced size image
Post by: jokervx4 on September 06, 2009, 03:54:16 PM
Sorry for the double post.

Here is a test account:

Jokervx4 - Name
test - Pass

website: http://www.screenshotuniverse.com
Title: Re: Unable to create thumbnail or reduced size image
Post by: phill104 on September 06, 2009, 04:40:47 PM
Uploads are working as expected for me. Check out the test album.

How big is the image you are having trouble with? You may be running into php limitations.
Title: Re: Unable to create thumbnail or reduced size image
Post by: jokervx4 on September 06, 2009, 04:56:45 PM
All fixed. i had to change the Imagemagik or w/e to GD2
Title: Re: Unable to create thumbnail or reduced size image
Post by: jokervx4 on September 06, 2009, 04:58:56 PM
but how do i create my own gallery? like admin's gallery or w/e
Title: Re: Unable to create thumbnail or reduced size image
Post by: phill104 on September 06, 2009, 06:37:02 PM
It is all in the docs (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#cat_alb_pic). Take your time to read them and you will soon work it out.

Also, we have a one question per thread policy so if you continue to struggle please start a new thread in the relavent section.

I am also guessing that because your configuration defaulted to imagemagik you used your hosts built in installer? If that is the case they often cause problems so we cannot support them. If that is the case simply download a copy of coppermine from this site and follow the upgrade instructions and you will have an official version.

Good luck with your site.