Is it possible to use a custom `ID` in the loop? For example use `$post->122334535` instead of `$post->ID.`

Th thing is. I have custom posts, attached to those custom posts are *images*. I need the images for another page created bij *CakePHP* instad of *Wordpress.* 

The pages have the same `ID`'s so I tried it like this:
 `<?php get_post_meta($post->$info['id'], 'Thumbnail') ?>`
But no response. The `ID` and `$info['id']` are the same number.