Usually Netscape fails where IE works when there are spaces in url names
(e.g. <img src="gifs/path/image name.gif"> would work in IE, but not in
Netscape - may also be in the html output code - Netscape is far harder on
tables for example - or I may be way way way way off!

James

"You're a big man, but you're out of shape.  With me it's a full time job.
Now behave yourself."
                                 "Get Carter" 1964


-----Original Message-----
From: Chris Martin [mailto:[EMAIL PROTECTED]]
Sent: 07 March 2001 17:40
To: CF-Talk
Subject: Broken image links


Hi.  Here at work, we keep a database of image paths.  These paths are based
on who uploads an image, what group it belongs to, what it is used for, et
cetera.  We have an internal Sql server  query that we use to lookup the
path for an image, given that images ID.

We use this query for almost all of our images on our sites, and it works
without a problem.  In Internet Explorer.  The problem comes in Netscape.
The exact same query will return the exact same results (proper path, proper
image name, et cetera), but the image shows up as broken in Netscape.  A
right click -> properties shows that the image path and all other properties
are the same in internet explorer as well as in Netscape.  What could be the
cause of this?  I have posted the code below for reference.

To get the image:
<cfquery name="qcfDisplayImageInfo" datasource="FSLibrary_Dev">
        SELECT          tbl_RE_Listings.reListingID, reImage,
qryImageFullPathLookup.ImageThumb, tbl_RE_Listings.reBusinessName,
                                qryImageFullPathLookup.Image,
qryImageFullPathLookup.ImageID
        FROM            qryImageFullPathLookup, tbl_RE_Listings
        WHERE           tbl_RE_Listings.reImage =
qryImageFullPathLookup.ImageID
        AND                     tbl_RE_Listings.reListingID = #URL.RE_ID#
</cfquery>

To display the image:
<img src="#qcfDisplayImageInfo.ImageThumb#">

Thanks,

Chris Martin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to