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
Register FAQ Calendar Search Today's Posts Mark Forums Read

Thread Tools Display Modes
Old 05-01-2001, 08:50 PM   #1
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?

Nintendo is offline   Reply With Quote
Old 05-02-2001, 07:42 AM   #2
Registered User
Join Date: Mar 2000
Location: Milwaukee WI
Posts: 338

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

It could go something like this


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

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.");

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


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

JakeJeck is offline   Reply With Quote


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 09:54 AM
Image button w/ Submit value DJ_B Web Design and Webmaster Issues 3 10-31-2000 07: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 06:45 AM

Please support our advertisers. They ensure our survival.

All times are GMT -5. The time now is 02:10 PM.

GeekVillage.com is copyright © 1998-2015 Curiosity Cave - Science gifts for clever kids. All rights reserved.
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.