Jump to content

No images showing? Please Help!


welski
 Share

Recommended Posts

following the tutorial on youtube by Philipp Reiner


 
On the part on putting image I copied the code
<?php foreach($page->children as $c): ?>
 
<div class="row">
<br><br>
<div class="col-lg-6 centered">
<img src="<?= $c->image->url; ?>" alt="<?= $c->image->description; ?>">
</div><!-- col-lg-6 -->
<div class="col-lg-6">
<h4><?php echo $c->title; ?></h4>
<?php echo $c->body; ?>
</div>
</div><!-- row -->
 
<br><br>
<hr>
<br><br>
 
<?php endforeach; ?>
 
But it doesn't show.. see attached
 
 

post-3764-0-66526000-1445314563_thumb.pn

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

×
×
  • Create New...