Advanced search  

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

Pages: [1]   Go Down

Author Topic: Photos uploaded are not displaying properly - distorted  (Read 5373 times)

0 Members and 1 Guest are viewing this topic.

kingston

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Photos uploaded are not displaying properly - distorted
« on: January 27, 2004, 08:24:39 pm »

Users are able to upload photos but the photos are scrambled or distorted when viewed.

Here is the url  http://www.rickert-fpjcr.org/modules/jmcontent/coppermine/

I will upload photo to an album called Pat Lynn's Crew for viewing.  Please help.

My users are frustrated.

 :roll:
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Photos uploaded are not displaying properly - distorted
« Reply #1 on: January 27, 2004, 08:42:16 pm »

Hi,
The images are being corrupted.  
    How long has this been happening?
    Is it happening to all users?  
    Does this happen when you ftp and batch add?[/list:u]
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

kingston

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Problem started on jan 23
« Reply #2 on: January 27, 2004, 08:55:56 pm »

Seems to be happening to all users.   I have tried several photos with same results.   I ahve notiiced via FTP client that the photos (thumbs & normal) being upload are not making their way into a number folder in the userpics folder.

Have not tried FTP and batch upload.   This is a user contribution site and that has not been our method of uploading photos.

Coppermine was functioning beautifully until the 23rd.

thnaks

you may AIM me at vuswing2603
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Photos uploaded are not displaying properly - distorted
« Reply #3 on: January 27, 2004, 09:26:07 pm »

Has your server altered anything since then.
What image software does the server use, GD(1 or 2) or imagemagik?
Can you post a test account and login with upload rights.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

kingston

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Server uses GD1.....don't know of anychanges
« Reply #4 on: January 27, 2004, 09:56:45 pm »

The server uses GD1.  homepageuniverse is the web host.

I will create a test account:


thanks.
Logged

Nibbler

  • Guest
Photos uploaded are not displaying properly - distorted
« Reply #5 on: January 27, 2004, 10:11:25 pm »

GD 1 is significantly inferior in terms of image quality to GD 2, see the faq about the difference between them.
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Photos uploaded are not displaying properly - distorted
« Reply #6 on: January 27, 2004, 10:30:40 pm »

This could be realated to GD1, or it could be some other things.

1. Check your JPEG compression ratio to see if you accidentally lowered it to much.

2. If the pics have always looked like this, then it is most likely your GD1 library; however, you can attempt a repair by using the batch resize option to resize all the thumbs.

3.  If the problem suddenly appeared, check to see if your host made any changes on the server (i.e. perhaps they upgraded to GD2 and you would need to switch the method in the config).

In general, you should only use GD1 if you must have compressed GIF support.  Otherwise, you should ask the host to upgrade to GD2 (which does not support GIFs), or ImageMagick (which supports decompressed GIFs).  Both are lightyears ahead of GD1 interms of quality and memory usage.
Logged
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

kingston

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Don't think its the GD1 or GD2 issue
« Reply #7 on: January 27, 2004, 11:29:10 pm »

JPEG quality is set to 90; always has been.  

Just for kicks I changed the configuration to GD2 and got corrupted uploads as well.

Any other thoughts.  

What about the thumbs and normals not ending up in a number folder in the userpics folder.  Before this started the images were created in a numbered folder.  Is this unusual?

Thanks for the help.

 :(
Logged

kingston

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
It seems GD2 works after all.....
« Reply #8 on: January 27, 2004, 11:55:13 pm »

I just tried GD2 configuration again and it uploaded the image fine without corruption.

Follow my previous link to see.

It seems that that my web host must have switched to GD2 sometime last week.  I will confirm that from them and report back.

Thanks for the heads up and suggestions.

I really like coppermine; seems to be one of the better php scripts around.
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Photos uploaded are not displaying properly - distorted
« Reply #9 on: January 28, 2004, 12:10:17 am »

Good, now you just need to use the batch resize to repair the thumbs that were damaged.
Logged
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

kingston

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Spoke tooooooo sooooon
« Reply #10 on: January 28, 2004, 12:20:39 am »

Now GD2 is failing and GD1 fails as well.

Could someone please follow my earlier url link and test a photo using the username and password I supplied to casper?

It may be a network problem at my web host's end.

Incidentally,  the corrupted test images are being reported as 16KB when uploaded where the good test image is reported as 8 KB.

All help appreciated.

THX
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Photos uploaded are not displaying properly - distorted
« Reply #11 on: January 28, 2004, 02:31:49 am »

There isn't much point unless you're willing to make the test account admin. You should PM such details; do not post them.
Logged
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Photos uploaded are not displaying properly - distorted
« Reply #12 on: January 28, 2004, 11:52:03 am »

Hi kingston,

I just uploaded a pic as a test to the same album you used earlier.  It is a known good pic, but was corrupted.

Please delete the pic from your gallery.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Photos uploaded are not displaying properly - distorted
« Reply #13 on: January 28, 2004, 06:19:22 pm »

Ok,
I had a look in admin mode, and found the following.

Config seems to be correct.

Jpg's are still being corrupted.
PNG upload resulted in following error;
Code: [Select]
Fatal error: imagecreatefrompng(): gd-png: fatal libpng error: too many length or distance symbols in /home/httpd/vhosts/rickert-fpjcr.org/httpdocs/modules/jmcontent/coppermine/include/picmgmt.inc.php on line 178

This was a known good PNG.

 Extra debug info;
Code: [Select]
Notice: Undefined index: user3 in /home/httpd/vhosts/rickert-fpjcr.org/httpdocs/modules/jmcontent/coppermine/db_input.php on line 199

Notice: Undefined index: user4 in /home/httpd/vhosts/rickert-fpjcr.org/httpdocs/modules/jmcontent/coppermine/db_input.php on line 200


phpinfo;
Code: [Select]
GD Support  enabled  
GD Version  bundled (2.0.15 compatible)  
FreeType Support  enabled  
FreeType Linkage  with freetype  
GIF Read Support  enabled  
JPG Support  enabled  
PNG Support  enabled  
WBMP Support  enabled  
XBM Support  enabled  
 
Server restrictions (safe mode)?
Directive Local Value Master Value
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
safe_mode_exec_dir no value no value
sql.safe_mode Off Off
disable_functions no value no value
file_uploads On On

Directive Local Value Master Value
max_execution_time 30 30
max_input_time 60 60
upload_max_filesize 2M 2M
post_max_size 8M 8M



Could it be a bad GD install
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

sporkit

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Photos uploaded are not displaying properly - distorted
« Reply #14 on: July 29, 2004, 09:02:32 pm »

im having a similar problem it seems like its related to this topic http://forum.coppermine-gallery.net/index.php?topic=3412.0.

http://www.f8klan.com/cpg same thing is happening to me.  really dont know what else i can do to fix this.  all upload limits seem high enough on my server but still im getting corrupt images.  :-\\
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 18 queries.