Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
image not displayed
#3
Zegnåt Wrote:
jeel2008 Wrote:Why is that? Why cant I put a relative path?
You can use a relative path, no problem, but ../data/uploads/041.jpg is not the correct relative path. “../” points to a step higher in the hierarchy of the file structure. So if you use that path on http://www.jeelsites.nl/GetSimple_2.01/ it will work like this:
Code:
http://www.jeelsites.nl/GetSimple_2.01/../data/uploads/041.jpg => http://www.jeelsites.nl/data/uploads/041.jpg
The reason it works in the page editor is because you’re at a different location then and the browser will do this:
Code:
http://www.jeelsites.nl/GetSimple_2.01/admin/../data/uploads/041.jpg => http://www.jeelsites.nl/GetSimple_2.01/data/uploads/041.jpg
Hope this explained your problem.
hello zegnat, and thanks for your help.
but...one step higher in the file structure, indeed. i thought it would be right. see image.
so, what would be the correct relative path than, seeing this image? (above getsimple is only httpdocs, thats the main file.
Reply


Messages In This Thread
image not displayed - by jeel2008 - 2010-09-05, 20:33:55
image not displayed - by Zegnåt - 2010-09-05, 20:57:09
image not displayed - by jeel2008 - 2010-09-05, 21:09:10
image not displayed - by Zegnåt - 2010-09-05, 21:22:14
image not displayed - by jeel2008 - 2010-09-05, 21:31:45
image not displayed - by eric@rosewood - 2010-09-08, 00:19:07
image not displayed - by Zegnåt - 2010-09-08, 05:36:04
image not displayed - by Carlos - 2010-09-08, 08:07:55



Users browsing this thread: 1 Guest(s)