織夢kindeditor圖片上傳增加圖片說明alt屬性和tit
導讀:網站漏洞網站漏洞1、/kindeditor/kindeditor-all.js 或者 /kindeditor/kindeditor.js 或者 /kindeditor/kind網站推廣優化seo網seo優化趨勢。
1、/kindeditor/kindeditor-all.js 或者 /kindeditor/kindeditor.js 或者 /kindeditor/kindeditor-min.js 找到圖片按鈕的代碼 div class = tab2 style = display:none; , 在里面加入 div class = ke-dialog-row , label for = remoteTitle style = width:60px; + lang.imgTitle + / label , inpu […]
1、/kindeditor/kindeditor-all.js 或者 /kindeditor/kindeditor.j如何seo優化推廣網站s 或者 /kindeditor/kindeditor-min.js 找到圖片按鈕的代碼
'<div class="tab2" style="display:none;">',在里面加入
'<div class="ke-dialog-row">', '<label for="remoteTitle" style="widt營銷型網站建設h:60px;">' + lang.imgTitle + '</label>', '<input type="text" id="remoteTitle" class="ke-input-text" name="title" style="width:200px;" />', '<input id="autotitle" class="np" type="checkbox" onclick="if($(this).is(\':checked\')){$(this).prev().val($(\'#title\').val());}else{$(this).prev().val(\'\');}"> 使用文章標題', '</div>',
2、kindeditor_post.php 或者 kindeditor\php\upload_json.php 找到
echo $json->encode(array('error' => 0, 'url' =>改成
$img_title = $_POST['title']; echo $json->encode(array('error' => 0, 'url' 網站推廣優化seo=> $activepath."/$mdir/".$filename_name, 'title'=>$img_title));就是加了 img_title 而已,注意你的代碼,不一定跟我上面的是一樣的。在你的基礎上加入而已。
相關網站推廣優化seo網seo優化趨勢。聲明: 本文由我的SEOUC技術文章主頁發布于:2023-05-25 ,文章織夢kindeditor圖片上傳增加圖片說明alt屬性和tit主要講述屬性,圖片上傳,織夢網站建設源碼以及服務器配置搭建相關技術文章。轉載請保留鏈接: http://www.bifwcx.com/article/web_8180.html