Re: image in webpart only is visible on local computer

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Oisin Grehan (oising_at_gmail.com)
Date: 01/04/05


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



Relevant Pages

  • Re: Access 2010 with Sharepoint 2010
    ... gets converted into a web browser form (all that cool java + xml ... I'd sure like to see a side-by-side comparison of web and standard ... those will upload to Sharepoint? ... embedded macros? ...
    (comp.databases.ms-access)
  • Re: dynamic form validation / multiple forms
    ... for diagnosing the problems that produce errors on the browser. ... part is redundant as soon as you are passing the reference to the form ... of the form element but then using that name to look-up ... global variables a loop counters is particularly problematic as it ...
    (comp.lang.javascript)
  • Re: Maintaining State Between Web Pages
    ... not limited to what the browser allows. ... But it means that you'd *STILL* see the control disappear every time you ... <FRAME>, and if that invisible frame contained the VBS code that instantiated ... the current copy of the object reference is lost. ...
    (microsoft.public.scripting.vbscript)
  • web discussions - cant see via browser split screen
    ... I can't seem to get Web Discussions viewed via a browser ... with the Sharepoint server being the remote file server for saving. ... to finally get to the "discussion" window at the bottom of Word. ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: How to open docs within MS Word rather than IE
    ... PDF's open in the browser or the Acrobat Reader program according to how ... browser - how many of those do you have which aren't in Sharepoint Libraries ... PDF files are still open within IE ...
    (microsoft.public.sharepoint.portalserver)