added the media to fancy box