No-Image in the image to specify the (conditional) if statement
It is very convenient when you register the photo in the photo gallery and shopping sites such as manufactured by WordPress, and to use the "Custom Fields".
However, even if we allow up to six photos, and up to six photos is not always the case.
I have not registered to the image frame, but it is good looking and keep and image "No-Image", in each case and to set some trouble.
Therefore, in the frame have not registered your photo should look like to link to image "No-Image" automatically.
Use PHP if statement syntax
conditional if statement
<Php if (conditional expression):??>
Action to perform when the conditional expression is true
<Php else:??>
Action to perform when the conditional expression is not the case
<Php endif;??>
<Php if (post_custom ('key')):??> <Img src = "<? Php echo post_custom ('key')?>" /> <Php else:??> Src="No-ImagegazonoURL" <img /> <Php endif;??>







