I have the following code that displays all the posters belonging to the Movie Page. I'm using the same code on the Homepage as I'm using a specific function to pull in the Movie pages on the homepage. On the homepage I want to limit the number of posters to 4. I can't seem to do this any help?
<ul class="movieList">
<% control MoviePages %>
<li>
<h2><a href="$Link">$Title<% if MovieVersion %> <span>($MovieVersion)</span><% end_if %></a></h2>
<% if ReleaseDate %><p><strong>Release Date:</strong> $ReleaseDate.Nice</p><% end_if %>
<h3>Sypnosis</h3>
$Content
<h3>Posters</h3>
<% if Posters %>
<ul class="posters clear">
<% control Posters(4) %>
<li>
<a href="<% control PosterImage %>$URL<% end_control %>" title="$Pos/$TotalItems - $PosterName" rel="$MoviePage.Title"><% control PosterImage %><img src="<% control CroppedImage(125,188) %>$URL<% end_control %>" alt="$Title Poster Thumbnail" width="<% control CroppedImage(125,188) %>$Width<% end_control %>" height="<% control CroppedImage(125,188) %>$Height<% end_control %>" /><% end_control %><span></span></a>
</li>
<% end_control %>
</ul>
<% else %>
<h5>No Posters Yet</h5>
<p>Do you have a poster for this movie? Please <a href="contact">send it to us</a> so we can add it to the site.</p>
<% end_if %>
</li>
<% end_control %>
</ul>