Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"turning off" images

Status
Not open for further replies.

GROOVYHEN

Programmer
Apr 19, 2004
12
GB
Is there a way to prevent Internet Explorer, or any other major internet navigator, displaying the images on a web site? And if so, is there a way of having a line of text displayed in the images' place (you would personalise the text)?
 
from the website or the browser?



Chris.

Indifference will be the downfall of mankind, but who cares?
 
Turn images off from the browser, as a user. Add comments to put in their place if you're making the site.
 
for on a website;
add alt attributes to the <img> tag
<img src="picture" alt="your text here">

to turn off images in browser

for IE;
Tools -> Internet Options -> Advanced -> uncheck "Show pictures" in Multimedia

for NS and Mozilla;
Edit -> Preferences -> Privacy and Security -> Images -> set Do not load any images



Chris.

Indifference will be the downfall of mankind, but who cares?
 
Try adding some style sheet information such as:
Code:
img {
	visibility: hidden;
}
- keeps the formatting in tact (what the image would have taken up in space) but doesn't display the images

OR
Code:
img {
	display: none;
}
- Completely removes any trace of the image. Formatting continues to flow where the image would have been.

Hope this helps.

Pete.


Web Developer & Aptrix / IBM Lotus Workplace Web Content Management (LWWCM) Specialist
w: e: Pete.Raleigh(at)lclimited.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top