Zen Follower
- Join Date:
- Oct 2007
- Posts:
- 241
- Plugin Contributions:
- 0
Featured Sidebox - Changing Image Size
I'm trying to keep the image size in the featuredf sizebox under control. The default is the small image size, which doesn't work in my instance; it is a bit too big.
So, I found the file TPL_FEATURED.PHP in the sideboxes template directory of ZC 3.8A.
Line 17:
$content .= '<a href="' . zen_href_link(zen_get_info_page($random_featured_product->fields["products_id"]), 'cPath=' . zen_get_generated_category_path_rev($random_featured_product->fields["master_categories_id"]) . '&products_id=' . $random_featured_product->fields["products_id"]) . '">' . zen_image(DIR_WS_IMAGES . $random_featured_product->fields['products_image'], $random_featured_product->fields['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT);
I tried changing the SMALL_IMAGE_WIDTH to
'width="90"' but it didn't change anything.
What is the correct means of changing this image size?
Thank you!
Donn