Đang Thực Hiện

149185 Fix occasional black image

About 1 in 50 members will attempt to upload an image and it will show up as black. This is a repost of a previous project, the programmer wasn't able to make this work.

The previous programmer told me it may be users changing the file extension instead of converting or it may be a server incompatibility. I recently switched servers and operating systems, however the problem continues even after this. I also had a user have this happen to him and send a .jpg image. I opened it to see the JFIF in the header and sure enough when uploaded it just showed completely black like I've seen.

It seems as though .gif and .jpg are uploaded fine. Although no other members sent me the original photos when this happened, the one that was sent was also a .jpg image.

Anyone know how to fix this? I don't ever see this stuff happening on many other php websites. Thanks for your help.

Kĩ năng: Bất kì công việc gì, PHP

Xem nhiều hơn: original photos, image websites, how to fix websites, gif programmer, upload image server php, image original, php upload file extension, websites repost photos, header fix, php problem image, black header, fix stuff, occasional, image upload jpg, fix upload problem, websites fix photos, php fix file upload, image gif, image converting, header image project, fix websites, file extension upload, changing uploaded image php, upload show image php, changing photos header

Về Bên Thuê:
( 20 nhận xét )

ID dự án: #1895364