Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Enter and store image

0 views
Skip to first unread message

Mark Goldin

unread,
Mar 5, 2003, 8:04:31 PM3/5/03
to
I have a form that the user is entering data into. Mostly it's text. Now he
also wants to paste small images into the form and store these images in the
database along with text. What would the interface part (Browser) be?

Thanks


Atrax _

unread,
Mar 5, 2003, 9:10:28 PM3/5/03
to
<input type="file" />

allowing the user to browse for the image file, then upload it. how ASP
handles this depends on whether you have upload components installed on
your server, and indeed which ones.

________________________________________
I got bored with my old signature,
so I changed it

Atrax. MVP, IIS
http://rtfm.atrax.co.uk/

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Mark Goldin

unread,
Mar 5, 2003, 9:45:15 PM3/5/03
to
What if the user wants to copy and paste the image?

"Atrax _" <anon...@devdex.com> wrote in message
news:um1jPW44...@TK2MSFTNGP11.phx.gbl...

Atrax _

unread,
Mar 5, 2003, 11:00:38 PM3/5/03
to
> What if the user wants to copy and paste the image?

without some custom ActiveX Control (which I've never seen myself),
that's impossible. you'd need a control on the page which could read
from the local clipboard and do what the <input type="file"> tag does
with file data. Like I said, I've never seen one.

I know that's what you wanted, but <input type="file"> is the only
practical way

0 new messages