configured prettyPhoto to use asset pipeline