Implement prettyPhoto (somewhat).