fix resource image and pic