Images do not display correctly in fullsize mode, only top part of image appears Images do not display correctly in fullsize mode, only top part of image appears
 

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

Images do not display correctly in fullsize mode, only top part of image appears

Started by jneundorf, October 09, 2010, 04:00:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jneundorf

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

Jeff Bailey

Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

jneundorf


Nibbler

Not sure what's going on there, but it's not a Coppermine issue. The connection gets reset every 15 kilobytes.

jneundorf

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.

Nibbler

Either Apache or a router I expect. This is what happens when requesting the file directly - Coppermine is not involved here.


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

jneundorf

Thank you for the info - now I know where to go digging.  I'll post any solution I find.

jneundorf

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.

jneundorf

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.

ΑndrĂ©