sharepoint 3.0 and firefox

I am trying to allow images to be displayed in firefox as well as IE but I am running into an issue
IE will understand and refrence a image location/path and display the image if it refrences
ImageLink="\\sharepoint\images\website\small.jpg"
fire fox and other browsers do not seem to care for the back slashes in the image location and will not display the image.  What i need is a way for the webpart to refrence an "img src" or even a href to display the image for firefox.  all of the code is contained in a webpart listed below

<WebPartPages:ImageWebPart runat="server" ZoneID="Right" PartImageLarge="" MissingAssembly="Cannot import this Web Part." IsIncluded="True" HorizontalAlignment="Center" Description="Use to display pictures and photos." PartOrder="1" AllowHide="True" ChromeType="None" ImageLink="\\sharepoint\images\website\small.jpg" AllowMinimize="True" DetailLink="" PartImageSmall="" ConnectionID="00000000-0000-0000-0000-000000000000" FrameState="Normal" AllowRemove="True" ExportMode="All" AllowConnect="True" IsVisible="True" FrameType="None" HelpLink="" IsIncludedFilter="" HelpMode="Modeless" VerticalAlignment="Middle" AllowZoneChange="True" ID="g_568b0da2_495b_4ccc_87ff_c5c71bdd36e8" Title="Site Image" ExportControlledProperties="True" SuppressWebPartChrome="False" AlternativeText="SCORE" BackgroundColor="transparent" Dir="Default" AllowEdit="True" __MarkupType="vsattributemarkup" __WebPartId="{568B0DA2-495B-4CCC-87FF-C5C71BDD36E8}" WebPart="true" Height="" Width=""></WebPartPages:ImageWebPart>

TonyElamAsked:
Who is Participating?
 
Dave BaldwinConnect With a Mentor Fixer of ProblemsCommented:
Yes, this src="\\sharepoint\images\Supply Chain\small.jpg" is probably the problem.  Not because it has slashes but because it is a local file path which Firefox will not open from an 'http' connection.  There is a security barrier there that Firefox won't cross.  You can also have problems with paths that have spaces in them.
0
 
Dave BaldwinFixer of ProblemsCommented:
I doubt that any browser but IE will ever understand that code.  There isn't any standard HTML in that, it's all Microsoft and Sharepoint specific code.  You might take a look at the "View Source" in IE to see what it's creating.  I say that because you have runat="server" and that often means the server interprets the code so it can send HTML.  If it includes 'file' links, then the other browsers will still block access for security reasons.
0
 
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
Hello,

I agree with DaveBaldwin. The code you posted above presumably comes from the Code View in SharePoint Designer. It is what goes INTO the SharePoint server, is interpreted and translated into html. What we need to see is what comes out as the final html. Can you post the relevant html that arrives in IE and in Firefox respectively?

cheers, teylyn
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

 
TonyElamAuthor Commented:
here are the 2 sets of code the IE and Firefox are pulling

FIREFOX
<tr>
            <td id="MSOZoneCell_WebPartWPQ4" vAlign="top"><table

TOPLEVEL border="0" cellpadding="0" cellspacing="0" width="100%">
                  <tr>
                        <td valign="top"><div

WebPartID="568b0da2-495b-4ccc-87ff-c5c71bdd36e8" HasPers="false"

id="WebPartWPQ4" width="100%" class="ms-WPBody" allowDelete="false"

style="" ><table cellpadding="0" cellspacing="0" border="0"

style="width:100%;">
                              <tr>
                                    <td align="Center"

valign="Middle" style="background-color:transparent"><img border="0"

id="MSOImageWebPart_WebPartWPQ4" src="\\sharepoint\images\Supply

Chain\small.jpg" alt="SCORE" /></td>
                              </tr>
                        </table></div></td>
                  </tr>


IE

<td valign="top"><div WebPartID="568b0da2-495b-4ccc-87ff-

c5c71bdd36e8" HasPers="false" id="WebPartWPQ4" width="100%"

class="ms-WPBody" allowDelete="false" style="" ><table

cellpadding="0" cellspacing="0" border="0" style="width:100%;">
                              <tr>
                                    <td align="Center"

valign="Middle" style="background-color:transparent"><img border="0"

id="MSOImageWebPart_WebPartWPQ4" src="\\sharepoint\images\Supply

Chain\small.jpg" alt="SCORE" /></td>
                              
0
 
TonyElamAuthor Commented:
the issue as i understand it is related to the back slashes in the call to the image location.  But i could be mistaken
0
 
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
Are you running a SharePoint installation locally and using the browsers to access the local files? What URL do you use to access the page in the browser?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.