adding local changes back in; support for lighbox images in other content areas and limit height and width to viewport