Thursday, May 31, 2007

Upload Image w/ Direct Preview

Upload Images Using C#, JavaScript and ASP.NET 2.0 Client Callbacks

Athough this still uploads image file to make the direct preview happen, it allows the user to verify them before finally saving.

It temporarily uploads to server file system passing back the image url and if the user finally decides to go saving it, it then is saved in the database.

Perhaps the initial upload is not necessary anymore in Silverlight as it can directly render user selected local image file w/o doing an upload trip to the server.

Wednesday, May 30, 2007

Send Image Edited Locally, But Not Using FileUpload

I am thinking of sending the image's byte array into
a web service interface that will save it to the database.

I needed to do this because, the image editor plugin in this
case allows only reading the edited image data through JavaScript
and we have to avoid the use of tag "input type=file" process.

Saving Images in Database - Asp.Net

Saving Images in a SQL database using ASP.Net

Retrieving Image from Database for Display - Asp.Net

Retrieve Images from a SQL database for display in an Asp.Net Datagrid