User Name Password Register
DaniWeb IT Discussion Community
All
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
Reply
Join Date: Dec 2007
Posts: 84
Reputation: nandhinijp is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 4
nandhinijp nandhinijp is offline Offline
Junior Poster in Training

Re: add watermark in image

  #21  
Feb 1st, 2008
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.
Last edited by nandhinijp : Feb 1st, 2008 at 2:26 am.
Reply With Quote  
Join Date: Sep 2007
Posts: 1,054
Reputation: SheSaidImaPregy is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 61
SheSaidImaPregy SheSaidImaPregy is offline Offline
Veteran Poster

Re: add watermark in image

  #22  
Feb 1st, 2008
I'm sorry, this is for uploading or watermarking/displaying images at runtime?
Reply With Quote  
Join Date: Dec 2007
Posts: 84
Reputation: nandhinijp is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 4
nandhinijp nandhinijp is offline Offline
Junior Poster in Training

Re: add watermark in image

  #23  
Feb 9th, 2008
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?
Reply With Quote  
Join Date: Dec 2007
Posts: 84
Reputation: nandhinijp is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 4
nandhinijp nandhinijp is offline Offline
Junior Poster in Training

Re: add watermark in image

  #24  
Feb 9th, 2008
How to delete unnecessary posts in this forum
Reply With Quote  
Join Date: Dec 2007
Posts: 84
Reputation: nandhinijp is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 4
nandhinijp nandhinijp is offline Offline
Junior Poster in Training

Re: add watermark in image

  #25  
Feb 13th, 2008
watermark is working in my system.when i upload files in site.it didnt display watermark in images.usually display images only.Please help me.whats is the problem in upload?
Last edited by nandhinijp : Feb 13th, 2008 at 6:36 am.
Reply With Quote  
Join Date: Sep 2007
Posts: 1,054
Reputation: SheSaidImaPregy is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 61
SheSaidImaPregy SheSaidImaPregy is offline Offline
Veteran Poster

Re: add watermark in image

  #26  
Feb 13th, 2008
You upload the files, including web.config? Make sure you uploaded that one as well.
Reply With Quote  
Join Date: Dec 2007
Posts: 84
Reputation: nandhinijp is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 4
nandhinijp nandhinijp is offline Offline
Junior Poster in Training

Re: add watermark in image

  #27  
Feb 14th, 2008
Totally i upload all the files once again.but i have the same problem.really i dont know what is the problem? is there any path problem? or any other?
there is no problem in local.
Reply With Quote  
Join Date: Sep 2007
Posts: 1,054
Reputation: SheSaidImaPregy is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 61
SheSaidImaPregy SheSaidImaPregy is offline Offline
Veteran Poster

Re: add watermark in image

  #28  
Feb 14th, 2008
Chances are yes, there is a path problem or your versions are wrong and not compatible. Check to see that your paths are right. If it works local and not on the server, it can be three things:

incompatibility, path problems, or I forgot this one.
Reply With Quote  
Join Date: Dec 2007
Posts: 84
Reputation: nandhinijp is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 4
nandhinijp nandhinijp is offline Offline
Junior Poster in Training

Re: add watermark in image

  #29  
Feb 20th, 2008
Is there any method to add watermark in image at runtime.
Reply With Quote  
Join Date: Sep 2007
Posts: 1,054
Reputation: SheSaidImaPregy is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 61
SheSaidImaPregy SheSaidImaPregy is offline Offline
Veteran Poster

Re: add watermark in image

  #30  
Feb 20th, 2008
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.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb ASP.NET Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 2:49 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC