split p-img and li-img