htmlArea

A directory of browser-based WYSIWYG editors

  MAIN
INDEX
SEARCH
POSTS
WHO'S
ONLINE
LOG
IN

Home: htmlArea 2: htmlArea 2 & 3 archive (read only): htmlArea v2.0:
Upload image in ASP


The htmlArea 2 & 3 editors have been discontinued.

We've made these forums available as a read-only reference and knowledge-base for people using or developing editors based on htmlArea 2 or 3.

Anyone who is interested in taking over version 2 or 3 is free to do so. All we ask is that you choose a new name that doesn't have "htmlarea" in it to avoid confusion with this site. We'll even give you a link in the directory to make it easier for people to find you. If you are developing or hosting an htmlArea based-editor under a new name, please submit it to our directory.

First page Previous page 1 2 Next page Last page  View All


jvme
New User

May 14, 2003, 6:13 AM

Post #26 of 35 (4091 views)
Shortcut
Re: [string] Upload image in ASP [In reply to] Can't Post

The problem is in Lister.asp, when you Build Folder list in action create.
Now I've the web in local, I want put it in production the next week , I'll send then URL.

The code is:


Code
  

case "create"
strTemp = Request("path")
if strTemp = "" Then
strTemp = webStartPath
End If
strTemp = strTemp & "/" & Request("folder")
Set fs = Server.CreateObject("Scripting.FileSystemObject")
if not (fs.FolderExists(strTemp)) then 'This is the code that I put.
fs.createFolder(Server.MapPath(strTemp))
end if
sPath = fs.getParentFolderName(strTemp)
Set fs = no


string
Novice

May 14, 2003, 6:35 AM

Post #27 of 35 (4089 views)
Shortcut
Re: [jvme] Upload image in ASP [In reply to] Can't Post

thanks,jvme!

i see.

i met the same trouble when i clicked to make a new folder without inputing a new folder name ,when i was informed of error.i have modified the code as well.

the biggest trouble is the uploaded image cannot display correctly. i am sure the image display code has no problem.

maybe there is somehting wrong with the upload.inc.asp?


string
Novice

May 15, 2003, 4:49 AM

Post #28 of 35 (4066 views)
Shortcut
Re: [misterxxi] Upload image in ASP [In reply to] Can't Post

problem solved with new version of upload.inc!
thanks everyone!


loops
New User

May 15, 2003, 4:39 PM

Post #29 of 35 (4042 views)
Shortcut
Re: [string] Upload image in ASP [In reply to] Can't Post

Hello All,



This was just what I was looking for gentlemen, thanks!

One question about the program, I did not see it listed. But can it be done and how?

In the ASP programs can you set the image upload to restrict the size of the image that can be uploaded and also can you restrict the types(.gif or .jpg)???



thanks in advance,

Loops


string
Novice

May 18, 2003, 10:07 PM

Post #30 of 35 (4012 views)
Shortcut
Re: [loops] Upload image in ASP [In reply to] Can't Post

you can modify it to meet your demand without a lot work.


(This post was edited by string on May 19, 2003, 2:50 AM)


string
Novice

May 19, 2003, 2:48 AM

Post #31 of 35 (4002 views)
Shortcut
Re: [misterxxi] Upload image in ASP [In reply to] Can't Post

hi,misterxxi

can i get the image path just after uploading without previewing ?

how could example.html retrieve the image path when i select one image and click on confirm?


pms
New User

Dec 16, 2003, 10:33 PM

Post #32 of 35 (3582 views)
Shortcut
Re: [misterxxi] Upload image in ASP [In reply to] Can't Post

Hai,

I want to use your aspphpupload code in Htmlarea 3.0 (Beta Version) .Can u please help me. Thanks in advance.

Regards

pms


misterxxi
Novice

Dec 17, 2003, 1:15 AM

Post #33 of 35 (3576 views)
Shortcut
Re: [pms] Upload image in ASP [In reply to] Can't Post


In Reply To
Hai,
I want to use your aspphpupload code in Htmlarea 3.0 (Beta Version) .Can u please help me. Thanks in advance.
Regards
pms

Sorry, but I do not know anything about 3.0 version, I have never used it.


(This post was edited by misterxxi on Dec 17, 2003, 1:16 AM)


fsarzana
New User

Dec 18, 2003, 11:22 AM

Post #34 of 35 (3540 views)
Shortcut
Re: [pms] Upload image in ASP [In reply to] Can't Post


In Reply To
Hai,

I want to use your aspphpupload code in htmlArea 3.0 (Beta Version) .Can u please help me. Thanks in advance.

Regards

pms



I'm also trying to get it to work vith V3.0: I inserted some code into htmlarea.js and a popup is displayed but with the error Error 80: 'selection' is null or not an object and then closes itself....Unsure

Either my code is not correct or there's something that doesn't work with V3!

Any idea?

Frank

(This post was edited by fsarzana on Dec 18, 2003, 11:26 AM)


fsarzana
New User

Dec 19, 2003, 2:58 AM

Post #35 of 35 (3516 views)
Shortcut
Re: [fsarzana] Upload image in ASP [In reply to] Can't Post

For what I see this is the code I was looking for: it has all the features I needed, but I can't make it work with htmlArea V3.0!

I added/modified a few lines in htmlarea.js, then I had to modify all lines like


globalDoc.selection.....


into


globalDoc._getSelection().....


in Asp\insert_image.html, and now I can see the popup window, navigate local and remote directories, preview images, create/delete remote directories/images, but, when I try to insert the selected image in the htmlArea, I get then error


'all.556e697175657e53747269667' is null or not an object, at line 210 of insert_image.html


I can't understand what this is!!!! Can you help Misterxxi? Smile

Frank

First page Previous page 1 2 Next page Last page  View All
 
 


Search for (options)