Autonav with images

Permalink
I am trying to make an autonav that will grab images I associated with pages and display them in the nav itself. I have a pagelist that is doing this right now but can't seem to get the autonav to show the images the same way. Any ideas would be helpful.

Here is the code that Concrete is currently choking on:
<?php 
   defined('C5_EXECUTE') or die(_("Access Denied."));
   $aBlocks = $controller->generateNav();
   $c = Page::getCurrentPage();
   $containsPages = false;
   $nh = Loader::helper('navigation');
   //this will create an array of parent cIDs 
   $inspectC=$c;
   $selectedPathCIDs=array( $inspectC->getCollectionID() );
   $parentCIDnotZero=true;   
   while($parentCIDnotZero){
      $cParentID=$inspectC->cParentID;
      if(!intval($cParentID)){
         $parentCIDnotZero=false;
      }else{

braincramp
 
Remo replied on at Permalink Reply
Remo
braincramp replied on at Permalink Reply
braincramp
This looks like it would work for the most part, but what if I need the images scaled to specific sizes? Can I still use the image helper I am trying to use in my code example? I am not trying to eliminate the text (and am actually adding some new text to the nav) I just wanted to call the page's "thumbnail" attribute, modify the images size and then slap it onto the front of the nav items.
Remo replied on at Permalink Reply
Remo
Yes of course, just look at the code. Instead of replacing the text you just add some content to it. You're free to use the image helper or anything else you want!