Auto sizing menu

I am in the process of making a website for a photographer and am wanting to have a menu that says on the left side of the images that are being displayed. The images are going to be different widths so it needs to be able to move or contract with the width of the images.

Here are some examples
http://i4.photobucket.com/albums/y109/o0adium0o/1b.png (small image)
http://i4.photobucket.com/albums/y109/o0adium0o/1a.png (large image)

If anybody could please let me know what I could do to make this happen it would be greatly appreciated. Thank you so much in advance.

Joshua