adding link with prettyPhoto api call