|
I have the extension in place, and the direct resize works fine for images in the products list page, or where the helper is in place, but I am wondering can this be used for any other place? For instance I have my catery headings I want to resize like this:
<img src="<?php $_childCategory->getImageUrl()->directResize(228,228,1); ?>” alt="<?=$_childCategory->getName()?>"/>
The error that cones up is:
Fatal error: Call to a member function directResize() on a non-object in /home/vobeinte/public_html/app/design/frontend/default/vobe_int/template/catalog/navigation/catnav.phtml on line 18
Any help would be greatly appreciated.
|