← Back to News & Newsletter Support
How to display image related to a post?
A example php code:
$this['news'] .= '
<div class="news col-xs-6 col-md-4">
<div class="image"><img src="storage/app/media'.$news->image.'" alt="'.$news->title.'"></div>
<div class="date">'.substr($date, 0, 16).'</div>
5 years ago
how can i get a thumbnail?
Use this plugin: http://octobercms.com/plugin/manogi-mediathumb
1-4 of 4
We are proud to announce that the stable release of the October CMS 2 is now available! The release represents over a year of design, research and development effort, which resulted in multiple new features and changes.
Continue reading →