•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 373,366 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,737 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 4989 | Replies: 47
![]() |
•
•
Join Date: Dec 2007
Posts: 84
Reputation:
Rep Power: 1
Solved Threads: 4
please reply for my path problem
Image image = Image.FromFile(context.Request.PhysicalPath);
instead of this i give full path in local.but image also not diplay..
what can i give instead of context.Request.PhysicalPath in site upload.please tell me.
Image image = Image.FromFile(context.Request.PhysicalPath);
instead of this i give full path in local.but image also not diplay..
what can i give instead of context.Request.PhysicalPath in site upload.please tell me.
Last edited by nandhinijp : Feb 1st, 2008 at 2:26 am.
•
•
Join Date: Dec 2007
Posts: 84
Reputation:
Rep Power: 1
Solved Threads: 4
Hi. Still i have path problem in watermark.So
I want to use session in class.
i want to get image name and append to folder
In that Session["showimage"] contains image name
String iname =(string)HttpContext.Current.Session["showimage"];
I got the error
Object reference not set to an instance of an object.
How to modify this statement?
I want to use session in class.
i want to get image name and append to folder
In that Session["showimage"] contains image name
String iname =(string)HttpContext.Current.Session["showimage"];
I got the error
Object reference not set to an instance of an object.
How to modify this statement?
•
•
Join Date: Sep 2007
Posts: 1,054
Reputation:
Rep Power: 3
Solved Threads: 61
Just follow the same tutorial as was listed in the beginning of this thread. What is basically done is that when in the output stream, if the server comes across the image with the end handle of what you specify in web.config, it will run it through a function, or class, then that class will throw it back into the output stream. This is all done at runtime.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
- Program to convert video to Flash AND watermark it? (Graphics and Multimedia)
- Auto replace hotlinked Image Javascript? (JavaScript / DHTML / AJAX)
- Java Applet [Move Image] (Java)
- DIV Help! (HTML and CSS)
Other Threads in the ASP.NET Forum
- Previous Thread: how to design a website
- Next Thread: Application Variables



Linear Mode