Added callback funtionality + the title of the link is now set to the caption of the image

- Added callback funtionality
- Title of the link is now set to the caption of the image
- Updated minified version