The problem with image attachments
#1
The problem with image attachments
I attached an image to the post. Browser (neither Chrome nor IE nor Firefox) cannot interpret and display the attachment. You can see it here: http://forums.irix.cc/attachment.php?aid=425 .

I figured out what is wrong. Files (original) I add and file I can see are not the same. The content of the file (after upload) is shifted by 142 bytes (sequence od 0x0D and 0x0A - new line characters) and the last 142 bytes of the files are truncated. Both files have the same size.

Begining of the oroginal file (jpeg image):
FF D8 FF E0 00 10 4A 46 49 46 00 01 01 01 00 48 00 48 00 00 FF FE 00 32 50 72 6F 63 65 73 73 65 64 20 42 79 20 65 42 61 79 20 77 69 74 68 20 49 6D 61 67 65 4D 61 67 69 63 6B 2C 20 7A 31 2E 31 2E 30 2E 20 7C 7C 42 32 FF DB 00 43 00 06 04 05 06 05 04 06 06 05 06 07 07 06 08 0A 10 0A 0A 09 09 0A 14 0E 0F 0C 10 17 14 18 18 17 14 16 16 1A 1D 25 1F 1A 1B 23 1C 16 16 20 2C 20 23 26 27 29 2A 29 19 1F 2D 30 2D 28 30 25 28 29 28 FF DB 00 43 01 07 07 07 0A 08 0A 13 0A 0A 13 28 1A 16 1A 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 FF C0 00 11 08 03 20 02 58 03 01 22 00 02 11 01 03 11 01 FF C4 00 1C 00 00 02 03 01 01 01 01 00 00 00 00 00 00 00 00 00 05 06 03 04 07 02

Begining of the file downloaded from forum:
0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A 0D 0A FF D8 FF E0 00 10 4A 46 49 46 00 01 01 01 00 48 00 48 00 00 FF FE 00 32 50 72 6F 63 65 73 73 65 64 20 42 79 20 65 42 61 79 20 77 69 74 68 20 49 6D 61 67 65 4D 61 67 69 63 6B 2C 20 7A 31 2E 31 2E 30 2E 20 7C 7C 42 32 FF DB 00 43 00 06 04 05 06 05 04 06 06 05 06 07 07 06 08 0A 10 0A 0A 09 09 0A 14 0E 0F 0C 10 17 14 18 18 17 14 16 16 1A 1D 25

I'm curious if You can replicate this. Just and image as an attachment to the post and then download it and compare. I hope You find this useful.

Onyx
mosiniak
Onyx

Trade Count: (0)
Posts: 76
Threads: 16
Joined: Aug 2018
Location: Poland
Find Reply
08-30-2018, 12:54 PM


Messages In This Thread
The problem with image attachments - by mosiniak - 08-30-2018, 12:54 PM
RE: The problem with image attachments - by uunix - 08-30-2018, 01:29 PM
RE: The problem with image attachments - by Irinikus - 08-30-2018, 01:47 PM
RE: The problem with image attachments - by mosiniak - 08-30-2018, 02:15 PM
RE: The problem with image attachments - by Irinikus - 08-30-2018, 03:48 PM
RE: The problem with image attachments - by Raion - 08-30-2018, 04:19 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)