I want to display the 'Photo of the day' in my webage.I used PWS as my reference to do that.But i want to know without using Handler.ashx page, can i do that with simple webpage?
Or Is it good to use only Handler.ashx file for getting random photos?Please clear my doubt. As am beginner its really very hard to understand what is about Handler.ashx page?When should we use that?
And also i am thinking of to store my Images in my application and only ImageUrl in database.But when i store imageURL's in database i should use
http://localhost:5423..... but if i store like this when i run the application for the second time it is changing that port number.That time it is not displaying the images.So i am confused with how is it possible to store
only the imageURL in database.
Member
13 Points
69 Posts
Using Handler.ashx - Photo of the day
Mar 26, 2008 04:57 PM|jagu_rita|LINK
Hello All,
I want to display the 'Photo of the day' in my webage.I used PWS as my reference to do that.But i want to know without using Handler.ashx page, can i do that with simple webpage?
Or Is it good to use only Handler.ashx file for getting random photos?Please clear my doubt. As am beginner its really very hard to understand what is about Handler.ashx page?When should we use that?
And also i am thinking of to store my Images in my application and only ImageUrl in database.But when i store imageURL's in database i should use http://localhost:5423..... but if i store like this when i run the application for the second time it is changing that port number.That time it is not displaying the images.So i am confused with how is it possible to store only the imageURL in database.
Please clear my doubt.
Thanks to all.
Participant
1820 Points
629 Posts
Re: Using Handler.ashx - Photo of the day
Mar 26, 2008 05:18 PM|Girijesh|LINK
Use relative path instead of absolute path for image.
http://www.girijesh.in/