[2023-01-23] 4images 1.10 released
0 Members and 1 Guest are viewing this topic.
bende kendi sitemde uyguladım ama sadece yeni eklenen resimlere işlem yapıyor id ile yaptırmak istediğimde font açılamadı hatası veriyor
selam indirdiğimiz dosyaları nereye atıyoruz yardımcı olurmusunuz
dilnüvaz arkadasım dosyayı ekledim içinde herhangi bi acıklama yok o yüzden sordum ben tşk ederim
Düzenlenecek dosyalar: 3 /4images/member.php/4images/admin/index.php /4images/lang/english/admin.phpServere atılacak dosyalarinstall_annotation.php >> ana dizine atılacakia.sql >> ana dizine atılacak*.png >> ana dizine atılacakannotate.php >> /includes klasörü içine atılacakann_settings.php >> /admin klasörü içine atılacakcolor.html >> /admin klasörü içine atılacakbatch_annotate.php >> /admin/plugins klasörü içine atılacak plugins klasörü yoksa oluşturunuz.Site adresiniz/install_annotation.php yazıp çalıştırınız.(explorer in adres kısmına)Gelen ekrandaki butona basınız mysql e bölümler eklenecek.Işlem bitince install_annotation.php ve ia.sql yi siliniz.açın /member.phparayın if (!$uploaderror) { son hali bu şekilde olacak//-------------------------------------------------------------------------------------------// --- Annotate Images ----------------------------------------------------------------------//-------------------------------------------------------------------------------------------if ($config['annotation_use'] && strtolower(get_file_extension($new_name) == jpg)) {require(ROOT_PATH.'includes/annotate.php');$ann_user_name = ($user_info['user_name']); if ($direct_upload) { $ann_src = MEDIA_PATH."/".$cat_id."/".$new_name; } else { $ann_src = MEDIA_TEMP_PATH."/".$new_name; } annotate_image($ann_src);}//-------------------------------------------------------------------------------------------Bu son hali:if (!$uploaderror) { $additional_field_sql = ""; $additional_value_sql = ""; if (!empty($additional_image_fields)) { $table = ($direct_upload) ? IMAGES_TABLE : IMAGES_TEMP_TABLE; $table_fields = $site_db->get_table_fields($table); foreach ($additional_image_fields as $key => $val) { if (isset($HTTP_POST_VARS[$key]) && isset($table_fields[$key])) { $additional_field_sql .= ", $key"; $additional_value_sql .= ", '".un_htmlspecialchars(trim($HTTP_POST_VARS[$key]))."'"; } } }//-------------------------------------------------------------------------------------------// --- Annotate Images ----------------------------------------------------------------------//-------------------------------------------------------------------------------------------if ($config['annotation_use'] && strtolower(get_file_extension($new_name) == jpg)) {require(ROOT_PATH.'includes/annotate.php');$ann_user_name = ($user_info['user_name']); if ($direct_upload) { $ann_src = MEDIA_PATH."/".$cat_id."/".$new_name; } else { $ann_src = MEDIA_TEMP_PATH."/".$new_name; } annotate_image($ann_src);}//-------------------------------------------------------------------------------------------açınız /4images/admin/index.phpbulunshow_nav_option($lang['nav_general_settings'], "settings.php?action=modifysettings");bu kodu altına ekleyin.show_nav_option($lang['nav_ann_settings'], "ann_settings.php?action=modifysettings");açınız /4images/lang/turkce/admin.phpbu kodu en alt kısma ekleyin ?>bu işaretlerden once yani tagı kapatmadan once//-----------------------------------------------------//--- Annotation Settings -----------------------------//-----------------------------------------------------$lang['nav_ann_settings'] = "Annotation Settings";$lang['nav_ann_current_conv_tool'] = "is set as an image conversion tool";$setting['annotation_use'] = "Use auto images annotation on image upload";$setting['annotation_mode'] = "Annotation mode<br /><span class=\"smalltext\">Select if you using text for annotation or embedding image</span>";$annotation_mode_optionlist = array( "text" => "text", "image" => "image");$setting['annotation_embed_image'] = "Image to embed<br /><span class=\"smalltext\">Specify full path and filename of PNG image</span>";$setting['annotation_embed_image_opacity'] = "Embedded image opacity<br /><span class=\"smalltext\">Specify value from 0 to 100.</span>";$setting['annotation_embed_image_bg'] = "Embedded image background color to set as a transparent<br /><span class=\"smalltext\">Define HEX value, for example #000000. Have a look at <a target=\"_blank\" href=\"color.html\">color samples</a></span>";$setting['annotation_font'] = "Annotation font <span class=\"smalltext\"><br>Specify full path and font filename.<br>For ImageMagick & GD Lib: <b>Windows TTF</b> fonts only, for NetPBM: <b>X-Windows BDF</b> fonts only!</span>";$setting['annotation_font_size'] = "Annotation font size";$setting['annotation_use_shadow'] = "Use letter shadows";$setting['annotation_shadow_offset'] = "Shadow offset (same right and down)";$setting['annotation_image_quality'] = "Resulting image quality (in per cent)";$setting['annotation_text'] = "Annotation text<br /><span class=\"smalltext\">You can use the following variables: <b>%N</b> - Site Name, <b>%H</b> - full Site URL, <b>%U</b> - short Site URL, <b>%S</b> - User Name, <b>%D</b> - date, <b>%T</b> - time, <b>%B</b> - line break</span>";$setting['annotation_fill_color'] = "Annotation text fill color<br /><span class=\"smalltext\">Define HEX value, for example #FFFFFF. Have a look at <a target=\"_blank\" href=\"color.html\">color samples</a></span>";$setting['annotation_shadow_color'] = "Annotation text shadow color<br /><span class=\"smalltext\">Define HEX value, for example #000000. Have a look at <a target=\"_blank\" href=\"color.html\">color samples</a></span>";$setting['annotation_fill_alpha'] = "Fill color alpha blending (transparency)<br /><span class=\"smalltext\">Alpha blending value must be between 0.0 and 0.9 0.0 = no transparency</span>";$annotation_fill_alpha_optionlist = array( "0.0" => "0.0", "0.1" => "0.1", "0.2" => "0.2", "0.3" => "0.3", "0.4" => "0.4", "0.5" => "0.5", "0.6" => "0.6", "0.7" => "0.7", "0.8" => "0.8", "0.9" => "0.9",);$setting['annotation_shadow_alpha'] = "Shadow color alpha blending (transparency)<br /><span class=\"smalltext\">Alpha blending value must be between 0.0 and 0.9 0.0 = no transparency</span>";$annotation_shadow_alpha_optionlist = array( "0.0" => "0.0", "0.1" => "0.1", "0.2" => "0.2", "0.3" => "0.3", "0.4" => "0.4", "0.5" => "0.5", "0.6" => "0.6", "0.7" => "0.7", "0.8" => "0.8", "0.9" => "0.9",);$setting['annotation_v_alignment'] = "Vertical annotation alignment";$setting['annotation_h_alignment'] = "Horizontal annotation alignment";$annotation_v_positioning_optionlist = array( "top" => "image top", "middle" => "image middle", "bottom" => "image bottom");$annotation_h_positioning_optionlist = array( "left" => "left image edge", "center" => "image center", "right" => "right image edge");$setting['annotation_top_offset'] = "Top annotation margin";$setting['annotation_bottom_offset'] = "Bottom annotation margin";$setting['annotation_left_offset'] = "Left annotation margin";$setting['annotation_right_offset'] = "Right annotation margin";Şimdi admin paneline girip oradaki ayarlardan Annotation Settings font kısmınıAnnotation font Specify full path and font filename.For ImageMagick & GD Lib: Windows TTF fonts only, for NetPBM: X-Windows BDF fonts only! /public_html/captcha/fonts/arial.ttfŞeklinde değiştirin.By hasanok86
dilnüvaz senin buraya kopyaladın gibi aynısını uyguladım admin paneline girmek istiyinceyalnız hangi logo ana dizine atılacağı iyi yazılmamıs ben logo an png yi attım ve bi cok dosya varken anlattıgın kurulumda sadece bunlar yüklenıyo dimiinstall.annation..ia.sqllogo gd pngannatate.phpcolor.htmlbatch_annotate.phpsadece bunları yükledim anlattıgın kuruluma göre ve diğer anlattıkların yaptımhata şuParse error: syntax error, unexpected '&' in /home/xxxxxx/domains/xxxxxxpublic_html/galeri/lang/turkce/admin.php on line 668
dilnüvaz senin buraya kopyaladın gibi yaptım ama su hatayı verdi admin paneline girmek istiyinceParse error: syntax error, unexpected '&' in /home/xxxxxx/domains/xxxxxxpublic_html/galeri/lang/turkce/admin.php on line 668