I suggest creating and HttpHandler that will get image by id so your image control imageurl property will read something similar to " ImageUrl="Image.ashx?id=123". If your not able to get going with that brief suggestion let me know and I will try to help.
On Dec 19, 11:30 am, "[email protected]" <[email protected]> wrote: > I am currently displaying a WebControls.Image within a container panel > on my web form. > > I need to be able to sometimes display a relected version of the > image, and other times just the normal unaltered image. > > I have tried playing with: > > RotateFlip(RotateFlipType.RotateNoneFlipY) > > but it doesn't seem to work with this type of image- only images of > type system.Drawing.Image.bitmap. > > What I would like to do is save this image to memory (rather than just > saving it onto the server- a nightmare if there are multiple users), > then get the image object objphoto to read it instead of just reading > the original unflipped file. > > I've never used memorystream before. This is the code I'm attempting > to use to read the image into the stream: > > Dim MemStream As New MemoryStream > objBitmap.Save(MemStream, ImageFormat.Png) > How do I get it back out again? > > Previously I set the file location directly (i.e. objphoto.ImageUrl=".. > \filename.png"). Can I fetch this stored image a similar way?
