Hi all,
I'm developing a site on my local setup (Mac OS runnning MAMP).
I've installed CKEditor and am trying to use it on one of my web pages. There is no problem adding text and submitting the form (it works perfectly) but when I click the image icon on the editor to open the IMage Properties dialog, I have a problem.
In the Image Properties dialog box, I click the Upload tab. I can then browse to an image file on my hard drive. However Once I've selected the image and click "Send it to the Server" I see a great big "Not Found" in the dialog box (just above the Send It To The Server button).
What am I doing wrong? Am I missing some code somewhere?
This is what's in my <head> tag:
And this is inside the form on the page:
Can anyone tell me what I'm missing or doing wrong? Thanks so much!
I'm developing a site on my local setup (Mac OS runnning MAMP).
I've installed CKEditor and am trying to use it on one of my web pages. There is no problem adding text and submitting the form (it works perfectly) but when I click the image icon on the editor to open the IMage Properties dialog, I have a problem.
In the Image Properties dialog box, I click the Upload tab. I can then browse to an image file on my hard drive. However Once I've selected the image and click "Send it to the Server" I see a great big "Not Found" in the dialog box (just above the Send It To The Server button).
What am I doing wrong? Am I missing some code somewhere?
This is what's in my <head> tag:
<link href="../externals/admin.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="../ckeditor/ckeditor.js"></script> <script src="sample.js" type="text/javascript"></script> <link href="sample.css" rel="stylesheet" type="text/css" />
And this is inside the form on the page:
<form action="<?php echo $editFormAction; ?>" method="POST" name="AddArticle">
<table width="400" cellspacing="0" cellpadding="0">
<tr>
<td>Subtitle</td>
<td><label>
<input type="text" name="subtitle" id="subtitle" class="widebox" />
</label></td>
</tr>
<tr>
<td>Article</td>
<td><label>
<textarea name="article" id="article" cols="45" rows="5" class="ckeditor" ></textarea>
<script type="text/javascript">
CKEDITOR.replace( 'article',
{
filebrowserBrowseUrl : '/browser/browse.php',
filebrowserImageBrowseUrl : '/browser/browse.php?type=Images',
filebrowserUploadUrl : '/uploader/upload.php',
filebrowserImageUploadUrl : '/uploader/upload.php?type=Images'
});
</script> Can anyone tell me what I'm missing or doing wrong? Thanks so much!
