Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
Boa noite, peço ajuda aos colegas no seguinte problema, desenvolvi todo meu projeto 100% funcionando em servidor local (xampp), utilizo o tynimce para editar os textareas e incluir umas imagens, como disse, local esta funcionando. ao hospedar o site em um servidor na web, hospedagem paga, tudo funciona tambem, consigo editar os textareas com o tyni, mas as imagens nao editam, tipo eu incluo uma imagem, ele faz o upload normal, grava na pasta certa, na edicao ela aparece normalmente, mas quando salvo a pagina ela nao aparece onde devia, aparece aquele iconizinho tipo si nao existisse imagem., no servidor as pastas estao todas com permissao 777 pra garantir, meu tyni esta configurado assim:
<!-- TinyMCE -->
<script type="text/javascript" src="js/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript" src="js/tiny_mce/plugins/tinybrowser/tb_tinymce.js.php"></script>
<script type="text/javascript" src="js/md5.js"></script>
<script type="text/javascript">
tinyMCE.init({
// General options
mode : "specific_textareas",
editor_selector : "editor",
language : "pt",
theme : "advanced",
elements : 'abshosturls',
relative_urls : false,
remove_script_host : false,
skin : "o2k7",
skin_variant : "silver",
plugins : "safari,autolink,lists,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,wordcount,advlist,autosave",
// Theme options// Example content CSS (should be your site CSS)
content_css : "css/content.css",
// Drop lists for link/image/media/template dialogs
template_external_list_url : "lists/template_list.js",
external_link_list_url : "lists/link_list.js",
external_image_list_url : "lists/image_list.js",
media_external_list_url : "lists/media_list.js",
file_browser_callback : "tinyBrowser",
// Style formats
style_formats : [
{title : 'Bold text', inline : 'b'},
{title : 'Red text', inline : 'span', styles : {color : '#ff0000'}},
{title : 'Red header', block : 'h1', styles : {color : '#ff0000'}},
{title : 'Example 1', inline : 'span', classes : 'example1'},
{title : 'Example 2', inline : 'span', classes : 'example2'},
{title : 'Table styles'},
{title : 'Table row 1', selector : 'tr', classes : 'tablerow1'}
],
// Replace values for the template plugin
template_replace_values : {
username : "Some User",
staffid : "991234"
}
});
</script>Carregando comentários...