Hg 89 add media to lightbox

Mkay,
I would like to merge it.
Any additional work apart from fixing this, will be handled outside this PR.
style, space after `function` keyword