coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: areid on January 15, 2005, 08:34:24 PM

Title: Only can upload certain pics
Post by: areid on January 15, 2005, 08:34:24 PM
Hi I just got coppermine installed and everything works fine. The only problem I have is I can only upload files that are no bigger than 1184 x 784. Now this is a problem becasue my digital camera captures at 2560 x 1920. I cant rezie all of my pictues to upload them. Also this is a Family Album site and there are some people in the family that dont know how to resize their photos. So how can I make it accept those bighger pictures??

Thanks in advance

Alex

this is my config.


[attachment deleted by admin]
Title: Re: Only can upload certain pics
Post by: kegobeer on January 15, 2005, 10:03:29 PM
Post the error message you get.
Title: Re: Only can upload certain pics
Post by: areid on January 15, 2005, 10:52:27 PM
I dont get an error message, it just comes to the page cannot be displayed.

Try this guest login

http://www.reid-fam.com/photo_album
user: guest
pass: password


[attachment deleted by admin]
Title: Re: Only can upload certain pics
Post by: kegobeer on January 15, 2005, 11:07:27 PM
One of my recent posts explains how much memory is needed to resize images.  You can search my recent posts to find it.

Resizing large images takes a lot of resources, and it's probably the cause of your problem.  You need to try increasing php's memory allocation, the timeout setting, and probably a few other settings.

Those have all been discussed many times, and may even be stickies on the boards.  One of my recent posts has a link to a site that talks about uploading large files and required php settings.  Search around a bit and you'll find them.  Give them a try.
Title: Re: Only can upload certain pics
Post by: areid on January 16, 2005, 07:00:58 PM
Tried everything, but still it didnt work.....
Title: Re: Only can upload certain pics
Post by: kegobeer on January 16, 2005, 07:17:00 PM
Please explain in detail what you tried.  That will help us suggest alternative ideas.
Title: Re: Only can upload certain pics
Post by: areid on January 16, 2005, 10:44:11 PM
I found on here that you needed to have a temp directory other than the default, so I changed that, I change the time out settings, and I also changed the memory to 10MB.

Also here is apart of my php.ini file

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 360     ; Maximum execution time of each script, in seconds
memory_limit = 500M      ; Maximum amount of memory a script may consume (8MB)
Title: Re: Only can upload certain pics
Post by: kegobeer on January 16, 2005, 11:35:53 PM
Did you visit this site?
http://www.radinks.com/upload/config.php
Title: Re: Only can upload certain pics
Post by: areid on January 16, 2005, 11:43:40 PM
Yeah I just took a look at it, and it didnt tell me anything that I have already read on the forums
Title: Re: Only can upload certain pics
Post by: Joachim Müller on January 17, 2005, 05:31:55 AM
did you remember to restart your webserver service after changing php.ini ?

Joachim
Title: Re: Only can upload certain pics
Post by: areid on January 17, 2005, 08:27:39 PM
Yeah, at first I forgot, but then I remembered that I needed to do that, but still no luck