Are you using encoding=none in the insert/update action? ie. <@arg photo encoding=none>
Stefan
At 02:23 PM 10/29/2003 -0700, you wrote:
Thanks Ben!
I think my post might have been a little unclear tho. I'm having no problems downloading and viewing jpegs that have been stored in the database, but the code that I'm fixing has been broken for awhile and it currently doesn't store the files jpeg images in the db properly. I've checked, it is storing the binary argument that my input type=file is passing fine. But either something's getting lost in the translation, or there's something more I need to do, cuz the binary data that I read out after having stored does not work. Like I said in my other post too, I'm pretty sure I'm doing something stupid to prevent it from working, but all be damned if I can figure out what it is.
Jonah
----- Original Message ----- From: "Ben Johansen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 29, 2003 2:15 PM Subject: RE: Witango-Talk: storing jpeg in a oracle long raw field and manually throwing an error in Witango?
> Look for the Whats New pdfs either under the docs folder or up on > witango.com > > As for displaying images, convert the image.taf (attached) to look a the > field in your database and then place it with an <IMG tag > > > <TR VALIGN=TOP ALIGN=LEFT> > <TD> > Picture: > </TD> > <TD> > <img src="image.taf?nbr=<@COLUMN 'string(PictureNbr)'>" > width="106" height="80" border=0> > </TD> > </TR> > > > Ben Johansen - http://www.pcforge.com > Authorized Witango & MDaemon Reseller > Available for Witango Developement > > > -----Original Message----- > From: Jonah Simpson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 29, 2003 12:53 PM > To: [EMAIL PROTECTED] > Subject: Re: Witango-Talk: storing jpeg in a oracle long raw field and > manually throwing an error in Witango? > > Hey Thanks Robert! > > Following that answer up with another question, it seems the meta tag > documentation with the the 5.0 dev environment I've got is missing some > of > the metatags. First <@servername> and now <@throwerror>. Is there a > better > set of documentation out there that everyone except me is using? > > Thanks again dude! > > Jonah > ----- Original Message ----- > From: "Robert Shubert" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, October 29, 2003 6:43 AM > Subject: RE: Witango-Talk: storing jpeg in a oracle long raw field and > manually throwing an error in Witango? > > > > Part one answer: > > > > @THROWERROR > > > > http://www.witango.com/help/help.taf?_function=detail&snippetid=271 > > > > > > > > -----Original Message----- > > From: Jonah Simpson [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, October 29, 2003 3:41 AM > > To: [EMAIL PROTECTED] > > Subject: Witango-Talk: storing jpeg in a oracle long raw field and > > manually throwing an error in Witango? > > > > Hey All! > > > > I'm trying to do a couple things. Firstly, I seem to remember (wishful > > thinking?) that there was a way to manually throw an error in Witango, > > with > > your own custom message. I've built an error handling module, but it'd > > be > > nice to be able to throw an error for some exceptions that are out of > my > > hands and wouldn't regularly be considered a Witango error. Like I > said, > > I > > seem to remember, but I may be wrong, I've drank many a pint since the > > last > > time I thought about something like this. ; > > > > > The second thing that I'm having some problems doing is inserting a > jpeg > > image from a form submission into an oracle long raw field. Is there > > anything special I should be doing? I've got the form enctype set, > I've > > got > > a input type="file" called photo and I'm inserting using <@arg photo>. > > It > > appears the arg data is correct, but getting that annoying little x > when > > I > > try and read back out of the db. I know my read function works, > because > > it > > reads other, older images out of the database. Any ideas? I have this > > idea > > that I'm doing something really stupid here.... > > > > Thanks for the help! > > > > Jonah Simpson > > > > > ________________________________________________________________________ > > TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf > > > > > ________________________________________________________________________ > > TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf > > ________________________________________________________________________ > TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf > > ________________________________________________________________________ > TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
========================================================
Database WebWorks: Dynamic web sites through database integration
http://www.DatabaseWebWorks.com
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
