Page 1 of 1

News and Images

Posted: Fri Apr 11, 2008 9:14 am
by Probocop
How would I go about assigning an image to a news article, and then displaying it on the news summary page?

{news category="staff" summarytemplate="staff" moretext="Read More..." sortby="start_time"}

That's the code I'm using on my Staff page.


Basically I want it to display an article specific image on the summary template.

Re: News and Images

Posted: Fri Apr 11, 2008 9:47 am
by Probocop
Well I found the define custom field bit, so have sorted a file upload for each article.

The only thing I need to know now is, what piece of code do I use to GET the filename of the article image?

Re: News and Images

Posted: Fri Apr 11, 2008 12:32 pm
by Probocop
Nevermind, all sorted now.

Re: News and Images

Posted: Thu Jul 24, 2008 5:59 pm
by lainyrache
Hi Probocop,

Glad you got your image to show in the end!
I am looking to do exactly the same thing, but have got a bit stuck... could you possibly share your solution?  ;D

Many thanks,
Rachael