CON-1887 add lightbox to new article

Why those if block cannot be combined?