I tried to Message with a photo from my MBP 13 - late 2011 on ML. I could do it successfully after selecting a photo and attaching it to a message using iPhoto's "share" option. I noticed, though, that Aperture doesn't have a message share option - only email.
I had to message the photo via iPhoto's library - there doesn't appear to be an option to add a photo within Messages.