2010-09-05, 21:09:10
Zegnåt Wrote:hello zegnat, and thanks for your help.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:
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/../data/uploads/041.jpg => http://www.jeelsites.nl/data/uploads/041.jpg
Hope this explained your problem.Code:http://www.jeelsites.nl/GetSimple_2.01/admin/../data/uploads/041.jpg => http://www.jeelsites.nl/GetSimple_2.01/data/uploads/041.jpg
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.