How do they do that?

I’m producing a online gallery for a client who loves the animation (white box) that resizes itself around each photograph as in this (http://www.graememitchell.com ) … seems to me some type of “shape tween” going on?? Not sure how they do this? I mean I know about shape tweens… but how it (the tween) changes with the image size?

Help!