Hy ..
My code is
function get_thumbnail_code($media_file_name, $thumb_file_name = "", $image_id, $cat_id, $image_name = "", $mode = "", $show_link = 1, $open_window = 0) {
global $site_sess, $config, $lang;;
if (!check_media_type($media_file_name)) {
$thumb = "<img ".(($show_link) ? "" : "onClick=\"alert('MEMBERS ONLY CAN VIEW FULL PICTURES ');\"")."src=\"".ICON_PATH."/404.gif\" border=\"0\" alt=\"\" />";
}
else {
if (!get_file_path($thumb_file_name, "thumb", $cat_id, 0, 0)) {
$file_src = ICON_PATH."/".get_file_extension($media_file_name).".gif";
$image_info = @getimagesize($dummy);
$width_height = (!empty($image_info[3])) ? " ".$image_info[3] : "";
$thumb = "<img src=\"".$file_src."\" ".(($show_link) ? "" : "onClick=\"alert(''MEMBERS ONLY CAN VIEW FULL PICTURES '); \"")."border=\"0\"".$width_height." alt=\"".$image_name."\" />";
}
else {
$file_src = get_file_path($thumb_file_name, "thumb", $cat_id, 0, 1);
$image_info = @getimagesize($file_src);
$width_height = (!empty($image_info[3])) ? " ".$image_info[3] : "";
$thumb = "<a href=\"".$file_src."\" ".(($show_link) ? "" : "onClick=\"alert('MEMBERS ONLY CAN VIEW FULL PICTURES '); \"")."border=\"".$config['image_border']."\"".$width_height." alt=\"".$image_name."\" />";
}
}
and i would like to go to a site and not alleret .