I've got this section of code in my template:
<% if photoOfTheDay.Width > 450 %>
$photoOfTheDay.setWidth(450)
<% else %>
$photoOfTheDay
<% end_if %>
This seems correct syntactically to me, but I keep getting a parse error for the .ss file, and it's throwing it when it hits the <% end_if %>, saying there is an unexpected brace.
Anyone know what I'm doing wrong?