Help with shape tweening image frames

Hello All,

I am looking to create a slideshow with different shaped images and I wanted to create a boarder around the image which will expand and contract around any image even if it is out of sequence. I can’t find an example online at the minute eventhough I have seen the effect several times but this link has a similar effect when looking at the photos…

http://www.vikasshah.co.uk/

The bottom of the page moves up and down to accomodate the shape of the images. The difference is I want the whole image to be surrounded and the boarder to change vertically and horizontally.

I hope this is clear. Are there any tutorials I should look at? Is there a specific name for this effect which I could do a google search for a tutorial because I can’t seem to find anything.

Thanks for any help in advance.

Moth