
Originally Posted by
mesnitu
Hi
I'm trying to use the zen_image function, to some images on my template. however, I might be missing something about the use of the width and height, because I get the SMALL_IMAGE values
PHP Code:
zen_image($src, $alt = '', $width = '', $height = '', $parameters = '') {
This shoud work ?
zen_image('DIR_WS_IMAGES . $my_image, $my_image_name, 100,100)
Or I'm missing something ?
Thanks
remove the single quote before DIR_WS_IMAGES..
Code:
zen_image('DIR_WS_IMAGES . $my_image, $my_image_name, 100,100)
and try
Code:
zen_image(DIR_WS_IMAGES . $my_image, $my_image_name, 100,100)