I need to be able to hide the enlarge image link on the product info page when there is no large product image.
Can anyone help me with this?
Here is the code I want to show when there is a large product image:
CODE
<a href="<?php ProductLargeImageSrc(); ?>" title="<?php ProductImageAltText(); ?> Richly Scented Candle" rel="lightbox"><img class="candle" src="<?php ProductSmallImageSrc(); ?>" alt="<?php ProductImageAltText(); ?> Richly Scented Candle" title="<?php ProductImageAltText(); ?> Richly Scented Candle" height="<?php ProductSmallImageHeight(); ?>" width="<?php ProductSmallImageWidth(); ?>" /></a><br /><a style="font-size: .8em; text-align: center; width: 99%;" rel="lightbox" href="<?php ProductLargeImageSrc(); ?>" title="<?php ProductImageAltText(); ?> Richly Scented Candle">Enlarge Image</a>
Here is the code to show when there is no large product image:
CODE
<img class="candle" src="<?php ProductSmallImageSrc(); ?>" alt="<?php ProductImageAltText(); ?> Richly Scented Candle" title="<?php ProductImageAltText(); ?> Richly Scented Candle" height="<?php ProductSmallImageHeight(); ?>" width="<?php ProductSmallImageWidth(); ?>" />
I would appreciate your help. My PHP knowledge is very limited and I am having some trouble getting this.