forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: jneundorf on October 09, 2010, 04:00:28 am

Title: Images do not display correctly in fullsize mode, only top part of image appears
Post by: jneundorf on October 09, 2010, 04:00:28 am
I am using the latest version of coppermine.  It's running on a debian lenny server with the latest updates installed.  I've attached a screenshot showing a sample picture and also the fullsize image in a separate window.  This screenshot was done using IE8 as the browser.  I am getting the same behaviour in firefox3.6.

I have tried both GD2 and ImageMajik as the graphic tools - I don't understand enough about them to know if they have an impact.

I'm stumped at this point and would appreciate any ideas on how to fix this.

Thanks.

Jim
Title: Re: Images do not display correctly in fullsize mode, only top part of image appears
Post by: Jeff Bailey on October 09, 2010, 04:12:10 am
http://gallery.wwsys.net/login.php
Please provide a test user account as you force a login
Title: Re: Images do not display correctly in fullsize mode, only top part of image appears
Post by: jneundorf on October 09, 2010, 03:24:04 pm
Oh yeah, forgot to include that info.  Sorry about that.

http://gallery.wwsys.net

user = test
p/word = user
Title: Re: Images do not display correctly in fullsize mode, only top part of image appears
Post by: Nibbler on October 09, 2010, 04:40:51 pm
Not sure what's going on there, but it's not a Coppermine issue. The connection gets reset every 15 kilobytes.
Title: Re: Images do not display correctly in fullsize mode, only top part of image appears
Post by: jneundorf on October 09, 2010, 05:36:54 pm
Thanks for the quick reply.  I'm not sure either - I didn't have this behaviour with gallery2 or zenphoto - both of which I've opted to retire since finding coppermine.  When you say the connection gets reset every 15 kb - do you mean the web server connection?  If not which connection?

Thanks for the help.  I really appreciate it.
Title: Re: Images do not display correctly in fullsize mode, only top part of image appears
Post by: Nibbler on October 09, 2010, 05:41:18 pm
Either Apache or a router I expect. This is what happens when requesting the file directly - Coppermine is not involved here.

Code: [Select]
[nibbler@nibbler ~]$ wget 'http://gallery.wwsys.net/albums/ftp/christieandjayk/09_P9130039.JPG'
--2010-10-09 17:38:54--  http://gallery.wwsys.net/albums/ftp/christieandjayk/09_P9130039.JPG
Resolving gallery.wwsys.net... 209.222.54.223
Connecting to gallery.wwsys.net|209.222.54.223|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 399342 (390K) [image/jpeg]
Saving to: `09_P9130039.JPG'

 3% [===>                                                                                                                ] 15,119      19.4K/s   in 0.8s   

2010-10-09 17:38:56 (19.4 KB/s) - Connection closed at byte 15119. Retrying.

--2010-10-09 17:38:57--  (try: 2)  http://gallery.wwsys.net/albums/ftp/christieandjayk/09_P9130039.JPG
Connecting to gallery.wwsys.net|209.222.54.223|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 399342 (390K), 384223 (375K) remaining [image/jpeg]
Saving to: `09_P9130039.JPG'

 7% [++++===>                                                                                                            ] 30,183      20.9K/s   in 0.7s   

2010-10-09 17:39:00 (20.9 KB/s) - Connection closed at byte 30183. Retrying.

--2010-10-09 17:39:02--  (try: 3)  http://gallery.wwsys.net/albums/ftp/christieandjayk/09_P9130039.JPG
Connecting to gallery.wwsys.net|209.222.54.223|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 399342 (390K), 369159 (361K) remaining [image/jpeg]
Saving to: `09_P9130039.JPG'

11% [++++++++====>                                                                                                       ] 45,247      19.4K/s   in 0.8s   

2010-10-09 17:39:05 (19.4 KB/s) - Connection closed at byte 45247. Retrying.

--2010-10-09 17:39:08--  (try: 4)  http://gallery.wwsys.net/albums/ftp/christieandjayk/09_P9130039.JPG
Connecting to gallery.wwsys.net|209.222.54.223|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 399342 (390K), 354095 (346K) remaining [image/jpeg]
Saving to: `09_P9130039.JPG'

15% [+++++++++++++===>                                                                                                   ] 60,311      12.8K/s   in 1.2s   

2010-10-09 17:39:10 (12.8 KB/s) - Connection closed at byte 60311. Retrying.
Title: Re: Images do not display correctly in fullsize mode, only top part of image appears
Post by: jneundorf on October 09, 2010, 05:50:43 pm
Thank you for the info - now I know where to go digging.  I'll post any solution I find.
Title: Re: Images do not display correctly in fullsize mode, only top part of image appears
Post by: jneundorf on October 09, 2010, 05:58:02 pm
Found that I keep hitting the browser refresh, the picture shows up section by section until it is complete.  I'm thinking apache rather than the router because ftp downloads through the router don't seem to have this issue.
Title: Re: Images do not display correctly in fullsize mode, only top part of image appears
Post by: jneundorf on October 10, 2010, 11:41:59 pm
OK - figured it out.  The image files are accessed through a smb fileshare.  I have to add this in the httpd.conf file:

<Directory "/path/to/files/">
  EnableSendFile Off
</Directory>

Works just fine now.  Thanks for the help.
Title: Re: Images do not display correctly in fullsize mode, only top part of image appears
Post by: Αndré on October 12, 2010, 02:05:29 pm
Marking as solved.