I posted my first post on this on october 1 and still can not seem to get help.

originaly psted in "Displaying manufacturers image on product page"


Quote:
Originally Posted by Ajeh View Post
Extend your test to check if there is an image returned from the function or if it is blank ... if the zen_get_products_manufacturers_image is returning a blank then don't call the image with the zen_image ...
Hello Can some tell me how I can do this I dont know that much php but i am slowly learning.


THanks

Lexxis



Can I get some help with this. I can not seem to get any answers for this. I used the snip of code in the above post. And it works very well. But what I want to tell the code is to only show if there is a manufacturers image. Currently when there is no image it shows the noimage.gif. I don want it to show anything if there is no image.

Any help to help me sort this would be very well appreciated.


the code i am using

<!--bof display manufacturer image on page =^sg^= -->
<?php
if ($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name)); ?>
<?php echo '' . zen_image(DIR_WS_IMAGES . zen_get_products_manufacturers_image($product_info->fields['products_id'])); ?>
<!--eof display-->


Thanks Lexxie