TIP: Click on subject to list as thread! ANSI
echo: osdebate
to: Glenn Meadows
from: Glenn Meadows
date: 2007-06-02 11:37:46
subject: Re: Web page help..

From: "Glenn Meadows" 

More info.  Here's the whole section of ASP code, I was looking too
narrowly, forgetting that the ALT was a TEXT entry to describe missing
graphics.  I believe this needs an properly structured else line (just now
starting to look at ASP programming, so this is WAY below my pay
grade....LOL>.

code snippet follows:

 <%
        set fso = Server.CreateObject("Scripting.FileSystemObject")

        path = server.mappath ("/images/covers/")
        if fso.fileExists (path & "\" & photofile) then
        %> " 
BORDER="0" width=150
alt="">
                  <%
        end if
        %> 


End code snippet.

Thanks.

--

Glenn M.
"Glenn Meadows"  wrote in message
news:46619a07$1{at}w3.nls.net...
> I've got a site that I want to  use a place holder graphic when the
> requested album cover is not currently available.  The source that pulls
> the image is as follows:
>
> " 
BORDER="0" width=150 alt="">
>
> What do I put in the alt= are to make the image show up?
>
> The actual image name and path is:
>
> /images/covers/CoverNotAvail.jpg.
>
> For some obtuse reason, it's not working correctly. .
>
> Thanks. (oh, this is an ASP based site.)
>
> --
>
> Glenn M.
>

--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267
@PATH: 379/45 1 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.