Abstract lightbox image previews code

So I'm not 'cheating' in forcequotes.

Not a great functionally-composable abstraction, but good enough.