Click here to Skip to main content
15,665,942 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm trying to make an image a background for a button. I've done so on another page i've created but when I use the same Uri (on a nested page) for some reason the img won't ever show up.

Views
-Folder1
--Folder2
--Page1
--Page2
--Page3
--Page4
--Page5
--Page6
-About
-Contact
-Index
-Main
-Portfolio

On the portfolio page all the imgs's show up just fine(as on the index page as well). But for some reason(the same code) Page6 will not load the image? Anyone know why this could be?

the uri that follows is the uri I used in the portfolio page and the picture show's up just fine.

"..//Pictures/2k9/Stevie_Tiffany/ST1.jpg"

when I use the same exact uri for page6 the picture never shows up
Posted
Updated 28-Jan-10 12:03pm

MrNiceBerG wrote:
"..//Pictures/2k9/Stevie_Tiffany/ST1.jpg"



From Page6, perhaps

"../../Pictures/2k9/Stevie_Tiffany/ST1.jpg"
 
Share this answer
 
When you are not happy with the answer you've been given, you should edit your original question to answer why you don't think the answer you got is correct. Asking the same question again, and continuing to ignore requests to see code and other information, but expecting us to answer questions despite having previously told you that we can't based on this info, is the definition of insanity.
 
Share this answer
 
Without seeing the code, I can only surmise that the reason you have a problem is because you are using a path relative URI such as ../, and the path is nested further here.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900