Category image from product within it

for osCommerce Online Merchant v2.3

This is a very small but effectfull add-on. It finds a image for category from products in category, if no category image found. The function will do a random select of 3 products in the category or the category 2nd level. This limitation is done for performance reason. PS! I suggest that you use the add-on with a thumbnail generator like "KissIT" for speed and easy handling of images.