Solved

File Field not uploading image.

Posted on 2002-06-19
3
186 Views
Last Modified: 2010-04-25
Hi ,

I am trying to upload images to a directory.
The file field is in an insertion form. So the action field defaults to MM_EditAction. I don't know what to put in the action field, since I want the image to be uploaded to a special folder.

If DW does not allow the image to be uploaded to a folder , does it go into a field in the database.
Currently I have the file field named as the field in table. But nothing goes into the table.

I also have other fields in the insertion form that are related to the same table as the image field.

How does the file filed really work? What can I do to upload an image?

Help please please.
0
Comment
Question by:asankar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 19

Accepted Solution

by:
webwoman earned 50 total points
ID: 7104040
YOu don't upload files using Flash. It doesn't have the right tools. A text field is NOT an upload button. A Flash button is NOT an upload button. It won't work that way. You need to make an HTML form with an input type FILE option. It will generate a standard HTML button, and you CANNOT change it. The server also has to support it.
0
 

Author Comment

by:asankar
ID: 7104180
Hi , thanks for the input , but I needed a solution in a hurry. so I kind of figured it out with the help of plenty research online.

I wasn't using Flash , sorry for giving you that impression.

What I did find out was that the file field upload in dreamweaver doesn't just work like that. You have to modify the code. The documentation for this field in dreamweaver is insufficient. So I found an extension that does it. I used a pure asp code extension that I found in www.msdn.microsoft.com/library,  Steven W. Disbrow is brilliant!!!

But thank you for responding anyways webwoman.
0
 
LVL 19

Expert Comment

by:webwoman
ID: 7106330
No form elements in Dreamweaver work without modification. Hardly anything in any WYSI(N)WYG editor works without modification -- especially things that require some sort of processing on the server.

Glad you got it to work though. You might want to check out some of the other asp upload components, a pure asp solution really only works for very small files.
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Free website editor 10 565
Spry missing in DWcc 6 332
thumbnails in content 11 298
How can I add a "contact form" to a godaddy website page, and have the information emailed to me? 5 131
For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question