code: private String generateImageLink(String imageName) {
          StringBuilder imageLink = new StringBuilder("<br/>");
          if (imageName.length() >= directory.length() + 1) {
              imageLink.append(ONCLICK_TOGGLE).
                      append(imageName.substring(directory.length() + 1)).
                      append("\")'>Toggle Screenshot Thumbnail</a>");
              imageLink.append(" <a href='javascript:void(0)' onclick='display(\"").
                      append(imageName.substring(directory.length() + 1)).
                      append("\")'>View Screenshot Fullscreen</a>");
              imageLink.append("<br/><img id='").
                      append(imageName.substring(directory.length() + 1)).
                      append("' border='1px' src='").
                      append(imageName.substring(directory.length() + 1)).
                      append("' width='").
                      append(EMBEDDED_IMAGE_WIDTH).
                      append("px' style='display:none;'></img>");
          } else {
              imageLink.append("<b><font class='fail'>No Image Preview</font></b>");
          }
          return imageLink.toString();
      }
docs: Generates the HTML friendly link for the image
  
  @param imageName the name of the image being embedded
  @return String: the link for the image which can be written out to the
  html file