Unable to upload large pictures Unable to upload large pictures
 

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]

Main Menu

Unable to upload large pictures

Started by jfattizzi, November 27, 2005, 02:26:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jfattizzi

I have read all the posts on large pictures and it didnt help.  When I upload small files, say 1024x768 they work fine.  Anything larger I just get a blank page after it says it loaded it succesfully.  I hit continue and it goes blank. 

It is not my hosting company, because I can attach the same large picture to a message on my php forums. 

Can anyone help.  It seems to fail when the upload.php files is exectuted or something. 

you can log into my site with the following account

tester
123456

www.listar278.org/photogalphp/index.php

thanks.

kegobeer

It is your hosting company.  Coppermine does more than just upload images - it has to resize them twice to make the intermediate and thumbnail images.  This takes memory, and a lot of it.  There's a basic formula that tells you how much memory is needed to resize an image, depending on if you are using GD2 or ImageMagick.  Your host doesn't have enough memory allotted for this operation when you are uploading large pixel size images.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

jfattizzi

But the file is put into the edit directory under some temp name.  SO it uploads it. 

Is there away around it other than getting a new hosting company and downsizing my pics.

kegobeer

Like I said, Coppermine does more than just upload the image.  After it's uploaded via HTTP Upload, it's manipulated with GD2/ImageMagick - that's causing your blank screen.

Review the FAQ and the troubleshooting guides.  You can always ask your host to increase the values in php.ini.

As the admin, you should always use batch add to add your pictures, not the web upload process.  Read the documentation for more information on batch add.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

jfattizzi

The batch process does the same thing with large files.  Now what?

kegobeer

Try adding a smaller number of images during the batch add process.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

jfattizzi


Joachim Müller


artistsinhawaii

If your webhost will not increase the memory limit for your site, you really have only two options as I see it.

1) use a third party software to batch resize your images prior to upload. Then ftp them to your site.

2) Find a webhost that offers you a greater memory allocation to handle uploads/downloads and scripts execution.

Dennis
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.