Subversion Repositories SmartDukaan

Rev

Rev 10619 | Rev 10621 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10619 Rev 10620
Line 233... Line 233...
233
 
233
 
234
		$img_name = $now.'.png';
234
		$img_name = $now.'.png';
235
		imagepng($im, $img_path.$img_name);
235
		imagepng($im, $img_path.$img_name);
236
 
236
 
237
		$img = "<img src=\"$img_url$img_name\" width=\"$img_width\" height=\"$img_height\" style=\"border:0;\" alt=\" \" />";
237
		$img = "<img src=\"$img_url$img_name\" width=\"$img_width\" height=\"$img_height\" style=\"border:0;\" alt=\" \" />";
238
		imagedestroy($png);
238
		imagedestroy($im);
239
 
239
 
240
		return array('word' => $word, 'time' => $now, 'image' => $img, 'name' => $img_name);
240
		return array('word' => $word, 'time' => $now, 'image' => $img, 'name' => $img_name);
241
	}
241
	}
242
}
242
}
243
 
243