Fixed image uploading.