picture or url column with relative path?
Hello,
I have a column that has an image. When i type the url, it doesn't seem to let me enter a relative path. Is this possible? What is the format of the url string? It seems like it won't let me enter a url unless I start with http://,
but if I do that, I'm not sure what to type to get a relative path.
Thank you.
May 29th, 2010 12:38am
Neville, I am talking about the form that SharePoint give syou when you enter a new list item.
if one of your columns is of type image, then it gives you a field to enter the url of the image.
Basically, I go into the form, and type the relative url for the image:
images/coldfusionBible.jpg
I click "Click Here to Test", and it works. A browser opens up, displaying the picture.
This is the full url in the browser window:
"http://myccsf/library/Lists/LibraryItem/images/coldfusionBible.jpg"
However, when I go down to the bottom of the page, and try to save it, I get an error.
"Invalid URL: images/coldfusionBible.jpg"
It seems to not let me save the item unless the I start it with an "http://". However, if I use http:// as part of the url, I'm not sure how to still use a relative path.
Copying the URL of the image isn't ideal. I'd like the urls to be relative, since the site might be moving.
Free Windows Admin Tool Kit Click here and download it now
July 9th, 2010 11:24pm