Owl Carousel - How To Get The Slide Id Or Image Title

I need to build a page where I have an image carousel and for each image in the carousel I have to show a related text by clicking a link.
To do that I need to know which image is currently displayed to show the related informational text.

I have used var owl= $('.owl-carousel .owl-item.active'); to get the owl object, but I can't find the ID or image title properties.



May be the following example will help you.


Please check 1st answer