Thumbnail Retrieval Error

Permalink Browser Info Environment
Hello! I am trying to create a custom template for the ProBlog List block. Everything works except for retrieving the thumbnail image. Here is my code:
<?php    
defined('C5_EXECUTE') or die(_("Access Denied."));
extract($blog_settings);
global $c;
   if (count($cArray) > 0) { ?>
   <div class="ccm-page-list ccm-page-list-three-col">
   <div class="row">
   <?php    
   for ($i = 0; $i < count($cArray); $i++ ) {
      $cobj = $cArray[$i];
      extract($blogify->getBlogVars($cobj));
      $content = $controller->getContent($cobj,$blog_settings);
      $oThumb = $cobj->getAttribute('page_thumbnail');
      $thumb = $ih->getThumbnail($oThumb, 320, 200, true);
      ?>


This code is currently returning the error "Fatal error: Call to a member function getThumbnail() on a non-object" on this line:
$thumb = $ih->getThumbnail($oThumb, 320, 200, true);


Please help!

Thanks,
Nick

Type: Discussion
Status: New
nickboucher32
View Replies:

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.