First image in thread as thread-image instead of avatar

I need an add-on for XenForo 1.5 which displays the first image in a thread instead of the avatar in the thread list.
If there is no image in the posts - the avatar should by displayed. Please provide me an offer to my pm. Thanks in advance!