function get_img_html($file_name) { return '<img src="' . JB_get_image_thumb_src($file_name) . '" border="0" alt="' . $file_name . '">'; }
function get_resume_open_link($url, $title = '', $attributes = '') { global $label; $val = '<a href="' . $url . '"'; if ($title) { $val .= ' title="' . jb_escape_html($title) . '" '; } if ($attributes) { $val .= ' ' . $attributes . '" '; } /// IMAGE PREVIEW MOUSEOVER Code // Note: to have this feature working, you must have a template tag called 'IMAGE' defined in the resume form if (JB_PREVIEW_RESUME_IMAGE == 'YES') { $IMAGE = $this->get_template_value('IMAGE', $this->admin); $RES_ANON = $this->get_template_value('RES_ANON', $this->admin); $USER_ID = $this->get_template_value('USER_ID', $this->admin); if (strlen($IMAGE) > 0) { $val = $val . ' onmouseover="return overlib(\'<div style="text-align:center;">'; if (JB_image_thumb_file_exists($IMAGE)) { $val = $val . '<img alt=\\\'\\\' src=\\\'' . JB_get_image_thumb_src($IMAGE) . "\\'>"; } else { $val = $val . $IMAGE; } $val = $val . ' </div>\');" onmouseout="return nd();" '; } } $val = $val . '>'; return $val; }
function image_linked_display() { ?> <a target="_blank" href="<?php echo JB_get_image_src($this->get_data_value($this->field_row['field_id'])); ?> "> <img border="0" alt="<?php echo $this->get_data_value($this->field_row['field_id']); ?> " src="<?php echo JB_get_image_thumb_src($this->get_data_value($this->field_row['field_id'])); ?> " > </a> <?php }