I've modified the code to read as follows:
However, the result is as follows:PHP Code:$result .= str_repeat($this->spacer_string, $this->spacer_multiplier * 1) . '<a href="' . zen_href_link(FILENAME_DEFAULT, 'cPath=' . $category_link) . '">';
$result .= zen_image(DIR_WS_IMAGES . $categories->fields['categories_image'], $categories->fields['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br />' . $categories->fields['categories_name'] . '</a>';
I'm not sure why it does not acquire the correct path for the category image in SRC or why the ALT and the category's title are left blank as categories_name is omitted entirely.HTML Code:<li><a href="http://localhost/test/index.php?main_page=index&cPath=1"><img width="100" height="80" alt="" src="images/no_picture.gif"><br></a></li>
Any ideas?


Reply With Quote
