I recently had a customer request to display the pictures/images attached to a CRM form in an image carousel. This is one of those things where I’ve seen people write a bunch of Silverlight code to accomplish. In my opinion, using Silverlight for this is overkill. Inspired by the second half of the Displaying a Contact’s Facebook Picture in Microsoft Dynamics CRM 2011 post, I modified the OData query slightly to get back all the images attached to an entity and then used jCarousel Lite in conjunction with an HTML web resource.
The end result is what you see below:
We can rotate through all the images attached to this Contact entity by clicking the previous / next buttons. This code will work with any entity that has Notes enabled.