Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Half photo loading  (Read 6704 times)

0 Members and 1 Guest are viewing this topic.

Bertman

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Half photo loading
« on: March 04, 2005, 06:17:42 pm »

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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.bnnworld.com%2Ferror%2Fcoppermine1.jpg&hash=b2dc87a54a26e72a18b38d311ebf6371be7abc7f)
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Half photo loading
« Reply #1 on: March 04, 2005, 06:33:22 pm »

Have you tried with smaller files?
Logged

Bertman

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Half photo loading
« Reply #2 on: March 04, 2005, 07:38:46 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Half photo loading
« Reply #3 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
Logged

Bertman

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Half photo loading
« Reply #4 on: March 10, 2005, 08:47:49 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 ?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Half photo loading
« Reply #5 on: March 10, 2005, 09:51:21 am »

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
Logged

Bertman

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Half photo loading
« Reply #6 on: March 11, 2005, 09:18:57 am »

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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Half photo loading
« Reply #7 on: March 11, 2005, 10:03:36 am »

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
Logged

Bertman

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Half photo loading
« Reply #8 on: March 11, 2005, 10:25:08 am »

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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Half photo loading
« Reply #9 on: March 11, 2005, 02:02:38 pm »

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
Logged

Bertman

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Half photo loading
« Reply #10 on: March 11, 2005, 02:27:28 pm »

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 ?
« Last Edit: March 11, 2005, 02:36:58 pm by Bertman »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Half photo loading
« Reply #11 on: March 11, 2005, 06:50:05 pm »

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
Logged

Bertman

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Half photo loading
« Reply #12 on: March 12, 2005, 02:42:26 pm »

http://www.bnnworld.com/cpg132

User: test
Pass: test
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Half photo loading
« Reply #13 on: March 14, 2005, 07:52:39 am »

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
Logged

Bertman

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Half photo loading
« Reply #14 on: March 14, 2005, 01:01:12 pm »

Try an other picture plz.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Half photo loading
« Reply #15 on: March 14, 2005, 06:56:11 pm »

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
Logged
Pages: [1]   Go Up
 

Page created in 0.029 seconds with 19 queries.