This can occur if you upload your pictures in ASCII mode instead of binary. To switch the transfer mode, navigate to Actions > Transfer Mode, and then select the proper mode from the list.
For more information about the different transfer modes, read this article: Changing Modes.