/** * Prints the img tag for the given product image * * @param string $image The name of the imahe OR the full URL to the image * @param string $args Additional attributes for the img tag * @param int $resize * (1 = resize the image by using height and width attributes, * 0 = do not resize the image) * @param string $path_appendix The path to be appended to IMAGEURL / IMAGEPATH */ function show_image($image, $args="", $resize=1, $path_appendix="product") { echo $this->image_tag($image, $args, $resize, $path_appendix); }