changes to support ul with image