| Posted: 20 June 2008 at 11:47pm | IP Logged
|
|
|
Hi I have a task that formats the website url
from http://websiteaddress.com/categories.aspx?categoryid=100&productid=10
To http://websiteaddress.com/anytext/100/10/
It works fine on the rewriting however the images in my pages won't display properly and the paths are rendered incorrectly
e.g. I have page that displays an image <img src="images/test.gif"> the original url will render http://websiteaddress.com/images/test.gif
but when the url is rewritten it will render
http://websiteaddress.com/anytext/100/10/images/test.gif
so the images won't display. I tried modifying my src's by adding "../../../images/test.gif" and worked, but the images are many and contains more in my database. is there any other way to accomplish this without modifying the links?
Thanks in advance.
__________________ percival
|