Current location: Hot Scripts Forums » Programming Languages » ASP.NET » Image Path


Image Path

Reply
  #1 (permalink)  
Old 02-25-08, 01:46 AM
ahmad_iam ahmad_iam is offline
New Member
 
Join Date: Jul 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Image Path

I am working in ASP.NET. I am facing problem to set the image path. When I place the images folder into the project folder, there's no problem while setting the image path. But when the images folder is not in the project folder, trying to set the image path, does not set? Please tell me what is the problem ?
Reply With Quote
  #2 (permalink)  
Old 02-26-08, 02:50 PM
Vicious's Avatar
Vicious Vicious is offline
Community VIP
 
Join Date: Jan 2007
Location: Belgium
Posts: 584
Thanks: 0
Thanked 0 Times in 0 Posts
Sorry, we can't help you here. This is the javascript section, not ASP.NET.
__________________
Jack Bauer makes Chuck Norris cry
Reply With Quote
  #3 (permalink)  
Old 02-26-08, 03:17 PM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 8,075
Thanks: 11
Thanked 88 Times in 83 Posts
^ Good point. Thread moved to ASP.NET.
Reply With Quote
  #4 (permalink)  
Old 02-28-08, 08:21 AM
digioz's Avatar
digioz digioz is offline
Community VIP
 
Join Date: Oct 2003
Location: Chicago, IL
Posts: 2,171
Thanks: 3
Thanked 9 Times in 9 Posts
Quote:
Originally Posted by ahmad_iam View Post
I am working in ASP.NET. I am facing problem to set the image path. When I place the images folder into the project folder, there's no problem while setting the image path. But when the images folder is not in the project folder, trying to set the image path, does not set? Please tell me what is the problem ?
Instead of using system path like this:

Code:
C:\Inetpub\wwwroot\images\
Why don't you use URL like this:

Code:
http://www.YourDomain.com/images/
Or am I not understanding the problem correctly?
__________________
Reply With Quote
Reply

Bookmarks


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with absolute path and relative path samot PHP 4 11-13-08 10:12 PM
Pull image path from db and display Rollo Tamasi PHP 1 06-12-06 06:24 PM
searching image nurqeen PHP 4 07-09-05 09:35 AM
Help with image on form... Adrianaa03 JavaScript 1 10-06-04 07:38 AM
how to draw an image inside a table? davidklonski HTML/XHTML/XML 2 07-06-04 10:27 AM


All times are GMT -5. The time now is 02:35 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.