October 29, 2007

HowTo: Display a category image

Filed under: ZenMagick — DerManoMann @ 10:49 am

This is one of the shorter HowTo posts, but it’s just so easy :)

Add the following line (or change to fit your design)

<?php $imageInfo = $this->create("ImageInfo", $category->getImage()); zm_image($imageInfo); ?>

The code assumes that $category is your current category object (instance of ZMCategory).

Done!

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

You must be logged in to post a comment.