Jump to content

Get repeater image on another page


Roych
 Share

Recommended Posts

Hello,

I need some help with repeater images to show on another pages. I have a page called "settings" a template called "settings" and repeater with image field. I need to show that repeater on different pages, but somehow can't figure it out how to..

I have this atm ...

<?php foreach($pages->get('template=settings')->BackgroundImages as $bck): ?>
	<?php $bckgimage = $bck->bgimage->first(); ?>
		<li><img data-fade='2000' src="<?php echo $bckgimage->url; ?>" alt="" /></li>
<?php endforeach; ?>

I searched the forum but no success :\

Any help is appreciated

Thank you

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...