removing images to be readded with proper extension