VID-1810 Redo the janky image handling that existed before

Oh, and the centering stuff, my guess is that was necessary when we didn't have the lightbox to play the videos.