Jump to content

cant get image to display from child page


sebastiaan
 Share

Recommended Posts

<?php
foreach($page->children as $child)
   echo "
<li><a href='$child->url'>
<img class='photo' src='{$child->project_logo->url}' alt='{$child->project_logo->description}' width='200' height='200' />
	$child->title,
	 omschrijving:<br> $child->project_summary
	 </a>
	  </li>";
?>
</ul>

trying to display all child pages with logo, but when i try to display it it shows a 403 forbidden error,:

image.png.02a576da0cbe757a348b48b1f45d55c0.png

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...