Took care of it already using prettyPhoto and it works like a charm.