Adding thumbnail to pagelist
Permalink 1 user found helpfulCheers
http://www.codeblog.ch/category/concrete5/...
http://www.codeblog.ch/category/concrete5/...
<?php ] $logo = $cobj->getCollectionAttributeValue('customer_logo'); if($logo){ $ih->outputThumbnail($logo, 60,60, $title); } ?>
works great for me.
you need to add this to the top of view.php
$ih = Loader::helper("image");
Its a modification fromhttp://www.codeblog.ch/2009/03/concrete5-templates/comment-page-1/... and shows only the pages with the thumbnail attribute.
works fine on Concrete5 5.4.1
thanks Remo!!!
The template shows only 10 pages in thumbnails. Why?
http://www.concrete5.org/marketplace/addons/thumbview-template/...
Think that might do the trick for you - or at least review the code and modify for what you need!
-Phil