Start by changing this line: <img src = "images/balloon.jpg">;
to this:
echo '<img src="images/balloon.jpg">';
By the way, it should be src="images, not src = "images. The spaces matter.
If that doesn't fix the problem, echo out all the values of the variables just before your first "if" statement so that you can make sure that the image should actually be displaying.