This module helps to attach libraries to view displays, blocks, node and taxonomy pages as well.
Installation:
Copy the module into contrib modules directory and then enable the module.
After installation, go to configuration and find the menu link Mapping Libraries under system.