Half photo loading Half photo loading
 

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

Half photo loading

Started by Bertman, March 04, 2005, 06:17:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bertman

Lo,

I had Coppermin 1.3.0 on a IIS server. I moved it to a new Apache server, and found out that the pictures where half loaing loading. Only the top of the picture is loading, when you load the complete (original size) picture on IIS I had no problems with it. I had updated Coppermine to version 1.3.2 and the problem stays.

I had did some checks under 'Admin Tools':
- Update database
- Update thumbs and/or resized photos

But without any succes.

Server info:
- Server: W2K SP4
- PHP: PHP Version 4.3.10
- Apache: Apache/2.0.53 (Win32)
- MySQL: 4.1.7-nt

You can view examples on: http://www.bnnworld.com the go to Photobook

This is how a picture loads:
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.bnnworld.com%2Ferror%2Fcoppermine1.jpg&hash=b2dc87a54a26e72a18b38d311ebf6371be7abc7f)

Tranz

Have you tried with smaller files?

Bertman

Quote from: TranzNDance on March 04, 2005, 06:33:22 PM
Have you tried with smaller files?

Yeah also with smaller one's I have the problem. Some pictures have color blocks at the bottom of the picture. The one picture i post above is just black at the bottom.
I realy don't want to rebuild my photobook, bacause there are many pictures. And I have to photobooks they all do the same

Joachim Müller

maybe your pics got broken when you moved them - I even get your pics half-loading when I try to access them directly. You might want to check your server settings as well, this might be related to file size restrictions in place. I guess you're self-hosted, aren't you?

Joachim

Bertman

Quote from: GauGau on March 07, 2005, 09:36:39 AM
maybe your pics got broken when you moved them - I even get your pics half-loading when I try to access them directly. You might want to check your server settings as well, this might be related to file size restrictions in place. I guess you're self-hosted, aren't you?

Joachim

Yeah I have my own server, and when I access my photo's with for example with a photo editor. The photo's are oke.
Does coppermine use 'ImageMagick' for show the photo's or does he only use it to generate the pictures while uploading ?

Joachim Müller

coppermine only uses ImageMagick or GD (the libraries it can be used with) to resize a pic (thumbnail or intermediate) when uploading / adding the pic to the database. It doesn't touch the pics later, they are displayed just like they are on the server (unless you use a watermarking hack).
Some desktop applications are more fault tolerant than your browser, so it's possible that they display OK in your desktop app, while they fail to display correctly in your browser. Either way: your pics are broken, you have to re-create/upload them.

Joachim

Bertman

I had uploaded a new picture in the ablum, and I had the same problem with that picture.
I tryed a new installation of CPG and uploaded there a picture, and that one has the same problem (http://www.bnnworld.com/cpg132).
Do I have to configure apache ? I did a default installation (only configure PHP), maybe I need to do a specific setting.

Joachim Müller

look: this is not related to your coppermine install, it's related to the pics you upload: if they are broken in the first place, no coppermine install in the world will be able to add them to the database and create the resized versions. You have to troubleshoot the broken pics issue first before you continue to fuzz with coppermine: first, try to find out if the pics on your client are good (you don't prove they are good just by displaying them on your favorite desktop app) - attach a pic you're having issues with to your next posting (using the "Additional Options" when composing your message). Let us do the checking if your pic is OK. After that, we'll discuss the next steps.

Joachim

Bertman

Here is a test picture I used.
The pictures that I use works under IIS-server. Most pictures are bigger then 300kb !

- Coppermine on Apache: http://www.bnnworld.com/gallery/
- Coppermind on IIS: http://www.bnnworld.com:85/gallery/
They use the same MySQL database, they are only on a different place.

Joachim Müller

OK, the pic appears to be OK, I was able to upload it just fine on my coppermine test gallery.
Let's check some other things: can you upload the file using http uploads to your coppermine gallery? How do you transfer the files for batch-adding (do you use an FTP app or do you just move files around on your server or LAN)?

Joachim

Bertman

#10
I only uploaded it with the web-browser. I don't use FTP and not copy/past it.

Do you have youre phpinfo.php show I can compare ?

Joachim Müller

I won't share my phpinfo file publicly (and imo there's little point in this anyway).
Let's do some more trouble-shooting and see if this is related to your pc/OS/browser: post a link and test user account (non-admin) with upload privileges. Before it, set debug_mode to "Yes:everyone" and display_notices to "No" in coppermine's config. Then go to your groups panel and set file upload method to "Single file uploads only" for all relevant groups. This should give us more details when testing http uploads.

Joachim

Bertman


Joachim Müller

I was able to upload the pic just fine: http://www.bnnworld.com/cpg132/displayimage.php?pos=-4
Apparently you were able to upload it as well: http://www.bnnworld.com/cpg132/displayimage.php?pos=-3
What exactly is the problem then?

Joachim

Bertman

Try an other picture plz.

Joachim Müller

works as expected - see http://www.bnnworld.com/cpg132/displayimage.php?pos=-5
Attach to your next posting here on the board a file that does not work for you.

Joachim