Problems uploading photos Problems uploading photos
 

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

Problems uploading photos

Started by lpa, August 23, 2005, 09:46:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lpa

Hi,
When uploading to big photos, I get an error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, support@b-one.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log

By to big I mean pixelsize. It seems 1024x768 works fine, but larger photos get this error. The photos are uploaded into albums/edit, but cannot be included in cpg.

I have created a user: "help" pw: "help" and followed directions for this. Can anybody please have a look at the site, which is here: http://www.farumkyokushin.dk/cpg132

PHP Version 4.3.11
Linux srv24 2.4.30-vs1.2.10
post_max_size 8M
GD Version  bundled (2.0.28 compatible)


Rgds. Lars

Joachim Müller

Nothing that can be done by us, your server simply can't take huge pics. Either ask your webhost for support or live with smaller pics.
post_max_size probably is not the problem, but memory usage.

lpa

But it is not the filesize that is the problem, it is the pixels. I can upload 700KB large photos as long as they are smaller than a certain pixelsize. I didn't think it is possible for the host to limit the pixelsize, only the filesize?? I have asked and they support up to 4MB large files.

rgds. Lars

Joachim Müller

creating the thumbs and intermediate pics is a memory-consuming process, where resolution of the pic matters, not individual file-size. Like I said: this is a memory issue with your server.

lpa

But when I use the XP Web Publishing Wizzard everything looks fine as long as I reduce the pics to 1024x768 or less. Is there any way I can force every uploaded picture to be reduced in size the same way when the users upload by "Upload file" menu?

Rgds, Lars

Joachim Müller

Basically, the XP Publishing Wizard resized the pics before uploading them. You should do the same thing when using "traditional" http upload or ftp-upload and batch-add: resize the pics on your client. Take a look at the tutorial "Batch-resizing pics".