Jump to content

Getting IMG Tag and auto upload properties for editor


bob.johnson

Recommended Posts

Hello

i just want to code a function for my editor that help me to do this:

i copy a page with some note and picture in my editor,when i press send bottom editor find IMG tag in and upload it in my own server

i can write a function for finding IMG tag and upload,but i don't know how i have to add automatic upload to my server,is there any body here can help me for coding this?

or do you know one script or editor that have this properties on it?

i use my sample editor

Link to comment
Share on other sites

It is not possible with AJAX (which is a way of communicating with a server) or jQuery (which is a framework for JavaScript). The problem is that you'd need direct access to the files on a person's computer and that's simply not possible with JavaScript.

 

Java and Flash can both access files, if the user allows them to run, and could thus automatically upload files. I don't know how you would with them because I am neither a Java nor ActionScript programmer.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.