Re: image in webpart only is visible on local computer
From: Oisin Grehan (oising_at_gmail.com)
Date: 01/04/05
- Next message: Jonathan Kaufman: "Re: Configure Windows XP for SharePoint Development"
- Previous message: Parrothead: "RE: help with a webpart code from an MSDN Article(Error Code provided)"
- Maybe in reply to: Gary A. Bushey [MVP]: "Re: image in webpart only is visible on local computer"
- Next in thread: Gary A. Bushey [MVP]: "Re: image in webpart only is visible on local computer"
- Messages sorted by: [ date ] [ thread ]
Date: 4 Jan 2005 07:42:36 -0800
Jason,
Not to sound cheeky, but if they really were "power users" as you say,
they wouldn't be confused over where to place image files ;-)
However, that's not helpful. if you've just placed an image tag into a
webpart and someone then browses that page on their pc, the following
sequence of events occurs:
a) user's browser asks for the webpage from the server
b) user's browser reads (parses) the html in the webpage and finds your
<image> tag
c) user's browser looks at the SRC attribute and finds
"c:\temp\image.jpg"
d) user's browser looks in c:\temp\ and does not find image.jpg
So, what's wrong with this picture (excuse the pun) ? The image must be
placed in a location accessible to _all_ potential readers of the
webpage with the image tag. You've already halfway there with the
realisation that the picture must be placed on the sharepoint server,
so the best thing to do is to create a new Image library and upload the
image there, and then reference the . I agree that the browse to local
file facility is next to useless on the rich text webpart, and that
many users will be conceptually confused over how it works. If you
insist on using this method, you can browse to the image library with a
"UNC" path, e.g. \\servername\imagelibraryname\image.jpg but it
preferable to reference the image using http://servername instead.
You need to straighten your users out with some basic concepts on how
the web works. Unfortunately, over the last year, SharePoint has
surreptitiously consumed the minds of many a "Pointy-Haired Boss" or
PHB, (a Dilbert reference:
http://www.webdevelopersjournal.com/columns/pointy-haired_boss.html )
who all seem to believe that it is some kind of magic product that
enables everyone to just publish anything on the web without a
millisecond in training. I've been witness to global corporations just
unleashing the beast onto their intranets and consequently observing
their utter disbelief when the support tickets just keep rolling in
worse than ever.
My point is, the users may blame SharePoint if it doesn't work how they
expect, but that is because they have received no training, not because
SharePoint is broken. This is a large and complicated product that only
becauses more complex when you add Office 2003 to the mix. Haven't done
that yet? Good luck! My advice is to get a good reference book and
about 8 litres of strong coffee and a holiday...
Hope this helps somewhat,
- Oisin
- Next message: Jonathan Kaufman: "Re: Configure Windows XP for SharePoint Development"
- Previous message: Parrothead: "RE: help with a webpart code from an MSDN Article(Error Code provided)"
- Maybe in reply to: Gary A. Bushey [MVP]: "Re: image in webpart only is visible on local computer"
- Next in thread: Gary A. Bushey [MVP]: "Re: image in webpart only is visible on local computer"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|