convert_agent.php File Reference

Creates agent thumbnail images- deprecated. More...


Variables

 $link = getdb()
global $config
 $fp = fopen("temp_dir/$imagename", "r")
 $image = fread($fp, filesize("temp_dir/$imagename"))
 $imagedata = getimagesize("temp_dir/$imagename")
 $imagewidth = $imagedata[0]
 $imageheight = $imagedata[1]
 $imagetype = $imagedata[2]
 $dst_img = @imagecreatetruecolor($dest_width, $dest_height)
 $result
 $result
 $dst_img = @imagecreatetruecolor($dest_width, $dest_height)
 $result
 $result
 $data = fopen("temp_dir/$imagename", "r")
 $modify_size = $dest_width."x".$dest_height
 $data = fopen("temp_dir/$imagename", "r")
 $thumb_size = filesize("temp_dir/$thumbname")
 $thumb = addslashes(fread($fp, $thumb_size))
 $query


Detailed Description

This file is deprecated and will be removed

Variable Documentation

$query

Initial value:

 "UPDATE ".$table_prefix."agent_tbl_Files set thumb='$thumb', thumb_size='$thumb_size', 
  thumb_filetype='$image_row[filetype]' where id_files = '$image_row[id_files]'"

$result

Initial value:

  @imagecopyresampled($dst_img, $src_img, 0, 0, 0, 0, $dest_width,$dest_height, 
    $imagewidth, $imageheight)

$result

Initial value:

 @imagecopyresampled($dst_img, $src_img, 0, 0, 0, 0, $dest_width,$dest_height, 
     $imagewidth, $imageheight)


Generated on Sat Mar 3 12:47:09 2007 for FreeRealty Real Estate Listing Scripts by  doxygen 1.4.7