| Author |
Message |
Jason Shohet
Guest
|
Posted:
Mon Jan 03, 2005 10:36 pm Post subject:
image in webpart only is visible on local computer |
|
|
I added an image in a webpart using the Rich Text Editor. For picture
source, it lets me browse to it, and I load it and it looks great. But when
its viewed from other pc's it doesn't work.
I even went to the source code and changed it to a web url (ie,
http://100z-sharepoint/images/test1.jpg ) but still it didn't work. This
has to be easy enough that power users we hand over a site to, can work with
it. What are we doing wrong :)
thanks in advance
jason shohet |
|
| Back to top |
|
 |
Gary A. Bushey [MVP]
Guest
|
Posted:
Tue Jan 04, 2005 7:50 pm Post subject:
Re: image in webpart only is visible on local computer |
|
|
Where did you actually save the image? Is it in an image library?
Somewhere in the 60 folder? Outside of SharePoint?
--
Gary A. Bushey
SPS MVP
bushey@mindspring.com
"Jason Shohet" <__ash477@yahoo.com> wrote in message
news:uEPQeLb8EHA.3260@TK2MSFTNGP14.phx.gbl...
| Quote: | I added an image in a webpart using the Rich Text Editor. For picture
source, it lets me browse to it, and I load it and it looks great. But
when its viewed from other pc's it doesn't work.
I even went to the source code and changed it to a web url (ie,
http://100z-sharepoint/images/test1.jpg ) but still it didn't work.
This has to be easy enough that power users we hand over a site to, can
work with it. What are we doing wrong :)
thanks in advance
jason shohet
|
|
|
| Back to top |
|
 |
Jason Shohet
Guest
|
Posted:
Tue Jan 04, 2005 8:27 pm Post subject:
Re: image in webpart only is visible on local computer |
|
|
Gary,
Its just from a folder on my PC. After all, Sharepoint lets me browse to my
PC.
I am trying to do what users are going to do if I turn this sharepoint site
over to them. They're going to go to rich-text edit, plop an image control
in the page and set the source to c:/temp/somepic.jpg
If it doesn't work, they're going to blame MS Sharepoint.
If Sharepoint was smart, why not 'import' the pic into their database and
render it that way.
The idea is this site gets turned over to a power user. Right now they
won't be able to add an image to a webpart :) |
|
| Back to top |
|
 |
Oisin Grehan
Guest
|
Posted:
Tue Jan 04, 2005 9:42 pm Post subject:
Re: image in webpart only is visible on local computer |
|
|
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 |
|
| Back to top |
|
 |
Gary A. Bushey [MVP]
Guest
|
Posted:
Tue Jan 04, 2005 11:13 pm Post subject:
Re: image in webpart only is visible on local computer |
|
|
SharePoint does not copy the picture when you do something like that. Just
explain to your users that they need to import the image first and then they
can use it from an Image Library.
--
Gary A. Bushey
SPS MVP
bushey@mindspring.com
"Jason Shohet" <__ash477@yahoo.com> wrote in message
news:uDDmVom8EHA.4004@tk2msftngp13.phx.gbl...
| Quote: | Gary,
Its just from a folder on my PC. After all, Sharepoint lets me browse to
my PC.
I am trying to do what users are going to do if I turn this sharepoint
site over to them. They're going to go to rich-text edit, plop an image
control in the page and set the source to c:/temp/somepic.jpg
If it doesn't work, they're going to blame MS Sharepoint.
If Sharepoint was smart, why not 'import' the pic into their database and
render it that way.
The idea is this site gets turned over to a power user. Right now they
won't be able to add an image to a webpart :)
|
|
|
| Back to top |
|
 |
Jason Shohet
Guest
|
Posted:
Wed Jan 05, 2005 12:06 am Post subject:
Re: image in webpart only is visible on local computer |
|
|
Hehe Osin I love your answer. Yes I knew it had to be on the SP server, I
like the http:// way to reference it instead. I think the product is
immature -- it does a lot, but what it does not do -- that i think it
should -- is more than what it does. I mean, they're selling it as a way
to take developers out of the picture of day-to-day site administration, and
here's a perfect example of where users are going to stumble, and IT is
going to have to get involved with training etc. Of course, I've received
no training and am trying to wing this thing myself too. Thats life in a
bad economy.
As for the technology, I think Sharepoint should automatically import the
pic into its db, and reference it that way -- when the user browses to an
image. That would be the sign of a mature product, but alas....
Haven't tried integrating SP with Office 2003, I'll take your warning
seriously about the black coffee.
| Quote: | 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
|
|
|
| Back to top |
|
 |
Jason Shohet
Guest
|
Posted:
Wed Jan 05, 2005 12:07 am Post subject:
Re: image in webpart only is visible on local computer |
|
|
will do.
This kind of thing should be automated, IMO. User browses for a local jpg,
it gets imported to SP and automatically linked from there ;) Maybe next
version? |
|
| Back to top |
|
 |
Gary A. Bushey [MVP]
Guest
|
Posted:
Wed Jan 05, 2005 12:48 am Post subject:
Re: image in webpart only is visible on local computer |
|
|
I agree, it would be a nice option. I actually did the same thing myself
and it took me a while to figure out what was wrong. The old "Works on my
computer" syndrome ;)
--
Gary A. Bushey
SPS MVP
bushey@mindspring.com
"Jason Shohet" <__ash477@yahoo.com> wrote in message
news:eYe%23Njo8EHA.824@TK2MSFTNGP11.phx.gbl...
| Quote: | will do.
This kind of thing should be automated, IMO. User browses for a local
jpg, it gets imported to SP and automatically linked from there ;) Maybe
next version?
|
|
|
| Back to top |
|
 |
|
|
|
|