Subversion Repositories SmartDukaan

Rev

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

Rev 10631 Rev 10655
Line 229... Line 229...
229
 
229
 
230
		// -----------------------------------
230
		// -----------------------------------
231
		//  Generate the image
231
		//  Generate the image
232
		// -----------------------------------
232
		// -----------------------------------
233
 
233
 
234
		$img_name = $now.'.jpg';
234
		$img_name = $now.'.png';
235
 
235
 
236
		ImageJPEG($im, $img_path.$img_name);
236
		imagepng($im, $img_path.$img_name);
237
 
237
 
238
		$img = "<img src=\"$img_url$img_name\" width=\"$img_width\" height=\"$img_height\" style=\"border:0;\" alt=\" \" />";
238
		$img = "<img src=\"$img_url$img_name\" width=\"$img_width\" height=\"$img_height\" style=\"border:0;\" alt=\" \" />";
239
 
239
 
240
		ImageDestroy($im);
240
		ImageDestroy($im);
241
 
241