Suppress PHP warning if no image item selected