DjHuSo
Kod · PHP47 qator
if ($handle->uploaded) {

$handle->file_new_name_body = 'news_'.$id;

$handle->allowed = array('image/jpeg', 'image/jpg', 'image/gif', 'image/png');

$handle->file_max_size = 99999 * $set['flsz'];

$handle->file_overwrite = true;

$handle->image_resize = true;

$handle->image_x = true;

$handle->image_y = true;

$handle->image_ratio_no_zoom_in = true;

$handle->image_convert = 'jpg';

$handle->image_text = $home.' - '.$titleaju;

$handle->image_text_font = 0;

$handle->image_text_background = '#555';

$handle->image_text_color = '#FEFFFB';

$handle->image_text_background_percent = 50;

$handle->image_text_padding = 5;

$handle->image_text_x = 'BR';

$handle->image_text_y = 5;

$handle->image_convert = 'jpg';

$handle->process('files/news');

if ($handle->processed) {

@ chmod('files/news/news_'.$id.'.jpg', 0666);

}

}



Manashu koda sayt nomini bosyapti lekin juda kichik shuni qanday kattalashtirsam bo'ladi va ong tarfning pastiga tushurish kerak yana textni steylini o'zgartirsa bo'ladimi?