Webmaster Forum Rules | Posting Guide | Contact Us | Testimonials | Contributing Geek Program | Advertise on Geek/Talk
Welcome to the GeekTalk Webmaster Discussion Forums from GeekVillage.com

Click Here To Register. It's Free!

Go Back   geek/talk: Signature-free discourse for serious web publishers > YOUR CREATION: Building & Maintaining A Web Site > Web Design and Webmaster Issues
User Name
Password
Register FAQ Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 05-01-2001, 08:50 PM   #1
Nintendo
I am a Contributing Geek. Are You?
 
Nintendo's Avatar
 
Join Date: Feb 2001
Location: Planet Zeekois
Posts: 1,289
Question Dead image question

Is there some way to change what happens when there is a dead image? Is it possible to make it so a certian image shows up if it's a dead image?

------------------
http://www.world-of-nintendo.com/
http://www.nintendocc.com/
http://www.world-of-video-games.com/
http://www.nintendo-library.com/
Nintendo is offline   Reply With Quote
Old 05-02-2001, 07:42 AM   #2
JakeJeck
Registered User
 
Join Date: Mar 2000
Location: Milwaukee WI
Posts: 338
Unhappy

If you have php access this isn't too hard.

It could go something like this

=============================================
$handle=opendir($img_dir);

if ($handle)
{
if (chdir ($img_dir))
{
if (file_exists ($picname))
{
$size = GetImageSize ($picname);

**
else
{
print ("<BR><H3>ERROR</H3>The Picture you requested $picname was not found!<BR>");
print ("Please <a href=\"$HTTP_REFERER\">click here</A> to return where you came from.");
**

**
else
{
print("unable to change directories");
**
**
else
{
print("Handle did not work");
**

closedir($handle);
chdir("..");

=============================================
Where I have the error message you would put in the address of a "default" picture.


HTH
JakeJeck is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ACE Image Hosting Script Czar Barter/Trade, Buy, & Sell 0 11-02-2006 08:54 AM
Image button w/ Submit value DJ_B Web Design and Webmaster Issues 3 10-31-2000 06:35 AM
ADMIN: VIP geek/chat transcripts for 5/20/00. READ ME! Steve_S Archives of old posts from Let's Barter/Trade, Buy, & Sell 0 05-21-2000 12:12 PM
ADMIN: VIP geek/chat transcripts for 5/20/00. READ ME! Steve_S Marketing Your Website Online 0 05-21-2000 12:11 PM
Image Networks Question Slipknot - KoRn Making Money with CPC and/or CPM Programs 1 03-15-2000 05:45 AM

Please support our advertisers. They ensure our survival.

All times are GMT -5. The time now is 06:18 AM.


GeekVillage.com is copyright © 1998-2014 iOnline Web Design. All rights reserved.
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.