Image lightbox fix

cc @mattosborn 

Now using a regex