Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 File Attachment Names
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

RedLeader
New Member

USA
85 Posts

Posted - 10 May 2001 :  14:30:20  Show Profile  Visit RedLeader's Homepage  Send RedLeader an AOL message
I've modified HuwR's file attachment mod to upload and insert files(Images Only) within a post instead of providing a download link.

The change was minor ie only changing the javascript that got inserted into the message box after the upload has been complete.

The problem I am having is that is someone uploads an image and the filename contains spaces, the image appears as a broken link in netscape. It works fine in IE though.

I don't know enough about the file attachment mod to make a guess at where to make the change but I was hoping someone could help.

I would like to either rename the file after/while it is being saved or even better, get the fix for why Netscape will not display image names that have spaces in them.

Any help?

Here is what the image tah looks like that does not display in Netscape.

<img src="/images/my test filename.jpg">

Thanks,

RL



HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 10 May 2001 :  14:34:09  Show Profile  Visit HuwR's Homepage
I have just updated my own code to do the sane thing, you could try looking in uplaodengine.asp

for this line

faname = objUpload.Files.Item(0).FileName

you could then do a replace on the faname

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07