If gallery has empty field, don't display markup