Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7817083
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T06:06:44+00:00 2026-06-02T06:06:44+00:00

I am using Dojo Editor tools for an article publishing page. I’m trying to

  • 0

I am using Dojo Editor tools for an article publishing page. I’m trying to test the LocalImage plugin and I am having some issues. The plugin loads fine, but when I try to select a image from my computer to upload to the server it give me some issues.

First: After I select the local image on my computer it does not list the full file path. It only will list the file name. So instead of C:\pic.jpeg it only shows pic.jpeg. If I click insert Firebug gives an error and a warning.
“NetworkError: 404 Not Found – http://XXX.XXX.XXX.XXX/images/articles/uploads/test.jpeg”
Use of attributes’ nodeValue attribute is deprecated. Use value instead.

Second: I try to then type in the local path myself c:\pic.jpeg. No errors this time. However, only the Description title shows with anchors. Also the same warning from above.
Problem 1 and 2

If I use a URL of a picture it works fine.

I tried to follow the documentation on this page:
http://dojotoolkit.org/reference-guide/1.7/dojox/editor/plugins/LocalImage.html

editArticle.php

            <div data-dojo-type="dijit.Editor" id="editorContent" 
            data-dojo-props="extraPlugins:[{name: 'LocalImage', uploadable: true, uploadUrl: '../../../images/articles/UploadFile.php', baseImageUrl: '../../../images/articles/', fileMask: '*.jpg;*.jpeg;*.gif;*.png;*.bmp'}], 
            onChange:function(){dojo.byId('content').value = this.getValue();}" name="editorContent" placeholder="The HTML content of the article" required maxlength="100000" style="padding:0;"><?php echo $results['article']->content ?>
        </div>

UploadFile.php

    $upload_path = "../articles/uploads/"; 
$download_path = "../articles/uploads/";
require("JSON.php");
$json = new Services_JSON();

cLOG.php is working and shows this in the generated upload.txt.

[12.04.13 1.03.32]: POSTDATA: 1 FILES
[12.04.13 1.03.32]: 
[12.04.13 1.03.32]:    file: uploadedfile=Array
[12.04.13 1.03.32]: HTML single POST:
[12.04.13 1.03.32]: 
[12.04.13 1.03.32]: file: ../articles/uploads/test.jpeg
[12.04.13 1.03.32]: Json Data Returned:
[12.04.13 1.03.32]: {"file":"..\/articles\/uploads\/test.jpeg","name":"test.jpeg","width":null,"height":null,"type":"jpeg","size":false,"additionalParams":[]}

Please help a noob!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T06:06:47+00:00Added an answer on June 2, 2026 at 6:06 am

    Fixed it by changing the server folder permissions!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to make a request using dojo.xhrGet to grab some XML data from
I am having an issue trying to post a JSON string using dojo.xhrPost to
I am stuck with using Dojo to accomplish this. Basically what I am trying
I'm using Dojo trying to build an application with dojo's dnd. I've looked around
I'm using dojo and dijit and have an inlineEditBox widget. I'm trying to capture
I am using Dojo 1.2 to implement some functionality on my customer's webpage. One
I'm using Dojo 1.5 to create a dijit.form.Select with some data from a datastore.
i'm using Dojo 1.6 and trying to update an Html-Store with new data using
I have a web page displaying data using dojo datagrid. Sometimes, users need to
I'm trying to build a web app using Dojo. I have a form that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.