I need to grab the medium size of an image. I initially thought the keyword was MEDIUM_IMAGE_HEIGHT/MEDIUM_IMAGE_WIDTH but that returns the value from the admin panel.
Suggestions greatly appreciated.
I need to grab the medium size of an image. I initially thought the keyword was MEDIUM_IMAGE_HEIGHT/MEDIUM_IMAGE_WIDTH but that returns the value from the admin panel.
Suggestions greatly appreciated.
Got it.
then assign $width $height as needed.Code:require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_MAIN_PRODUCT_IMAGE)); list($width, $height, $type, $attr) = getimagesize($products_image_medium);
Cheers,
NB