The requirement of my application is that i should have a carousel component (3-5 pages) associated with it and then clicking on the carousel it will lead me to the pages linked to it with the condition that same image should appear in the page.
To achieve this,we can insert an image component for the pages but this would be a static image.I want to retrieve the image dynamically so that just on click of the carousel component the same image will appear in the linked page .
can anyone suggest me how to do this?i would be very grateful if anyone can help me .
You are looking for http://dev.day.com/docs/en/cq/current/wcm/default_components.html#Carousel
The OOB application  have that implemented. Might extent to meet for your need.