Pull images from home.php into projects.php?

Hi

Is it possible to pull in images from my home.php onto another page like a projects page?
How do you reference a specific page (home.php) in php?

<?php foreach ($page->images() as $image): ?>
<img src="<?php echo $image->url(); ?>">
<?php endforeach ?>

Really sorry if this been answered before but could not find any spot on post after a few searches.

Thanks in advance.

Try specifying the page in question.

<?php foreach ($pages->find('home')->images() as $image): ?>
<img src="<?php echo $image->url(); ?>">
<?php endforeach ?>

magic! thank you so much
xx