Fixed lenght issue in image data