Adjust size of photo and video icon, check main directory if exists.