setting correct paths for img files