Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Blog Module /

Discuss the Blog Module.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Get blog entry's first image on blog holder page


Go to End


1359 Views

Avatar
sajok

Community Member, 82 Posts

22 October 2010 at 1:56am

Hello,

I' trying to show blog entries with their first images in the blog holder page. I'm looking for something like this :

 <% control Images.First %>
           $Image
<% end_control %> 

What's the correct way to accomplish this?

Thanks