The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Apache help ejbrever UNIX for Dummies Questions & Answers 2 08-24-2006 10:50 AM
Apache ebethea27703 UNIX for Dummies Questions & Answers 1 05-18-2006 10:44 PM
apache norsk hedensk UNIX for Dummies Questions & Answers 5 02-08-2003 10:45 AM
Apache! hassan2 UNIX for Advanced & Expert Users 1 08-07-2002 05:27 PM
Apache Vijayanand IP Networking 1 07-02-2002 09:14 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-27-2001
henke henke is offline
Registered User
  
 

Join Date: Jul 2001
Location: Sweden, Sthlm
Posts: 3
Apache

Sometimes the webserver doesnīt find a picture or there isīnt any. Then it shows a deufault picture. If i want to have diffrent pictures on diffrent catalogs if a picture doesnīt exist. The thing is that i want diffrent picture if itīs a button picture or if itīs a another picture that doesnīt exist.

Is that possible?

Regards

Henke

Last edited by henke; 07-27-2001 at 08:34 AM..
  #2 (permalink)  
Old 07-30-2001
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,755
I don't think you can do this easily. However, www.apache.org will have on-line docs (and search capabilities) to help better answer this.

Try:

http://www.apache.org/search.html
  #3 (permalink)  
Old 07-31-2001
Optimus_P Optimus_P is offline Forum Advisor  
flim flam flamma jamma
  
 

Join Date: May 2001
Location: Chicago IL, USA
Posts: 1,006
well if an img is not avaliable you would get this gif the famous red X. apache_pb.gif


you could always swap out that gif for something you wanted in there in the first place. but that would be rather global.
  #4 (permalink)  
Old 07-31-2001
alwayslearningunix
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
I would have thought this to be an issue related to the HTML in the page, rather than a web server one because, as has already been stated, it's not something which is perceived as part of it's function (as far as I know).

Making use of the ALT property in your IMG tag to specify an alternate image to display if the primary one is not available would work just fine. It is more granular in the sense it is based on each individual page, but if you're making use of static HTML templates or better still one of the server side scripting languages to dynamically generate content, it would be flexible and most of all simple

Just my thoughts on this.

Regards.
  #5 (permalink)  
Old 07-31-2001
ober5861's Avatar
ober5861 ober5861 is offline
Registered User
  
 

Join Date: Jul 2001
Location: Gettysburg, PA
Posts: 116
Umm... someone tell me if I'm wrong, but the ALT property of the IMG tag in HTML is for an image description, not an alternate image. I may be wrong, but I've been writing web pages for nearly 5 years and I've never heard of that implementation.
  #6 (permalink)  
Old 07-31-2001
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,755
My thoughts:


Someone earlier suggested using dynamic content generation. This would be the way to go, i.e. using PHP or JSP or GGI in a more DHTML environment.

If I was going to 'dive into this problem' I would also look at the HTML return codes and see if not having an IMG returns a
status code. There are many of these status codes. However,
I don't have much faith in this approach.

The action based on the status (return) codes could have file-level
granularity, but this would require a great deal of work for a large server and I would not advise it.

The dynamic HTML method using JSP, PHP, etc. would be my
first choice.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:02 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0