March 2010
S M T W T F S
« Aug    
 123456
78910111213
14151617181920
21222324252627
28293031  

How to enable or disable Image Toolbar in Internet Explorer

Image Toolbar is a small toolbar shown in Intetnet Explorer above an image when the mouse moves over the image. The purpose of the Image Toolbar is to save the image, print the image, mail the image and to open the My Pictures folder.

Image toolbar in internet explorer
Image Toolbar in Internet Explorer

The usual method of saving an image from the Internet explorer is by right clicking the image and selecting Save Picture as…. In some sites the web designers disable the right click the option, so the user cannot right click the image and click Save the Picture….
But in that case also the Image Toolbar will display.

Disabling the Image Toolbar
Add an attribute GALLERYIMG in the img tag

<img src="imagesimage1.jpg" galleryimg="false" />

This will disable the Image Toolbar

Enabling the Image Toolbar
In small images the Image Toolbar will not be shown automatically. If we want to show the Image Toolbar in small images we have to enable it.

<IMG GALLERYIMG="true" src="imagesimage1.jpg" />

This will enable the Image Toolbar.

The above mentioned techniques will only disable/enable the Image Toolbar for only the particular image.

Image toolbar enabled Image toolbar disabled
Toolbar Enabled Toolbar disabled

To enable/disable the Toolbar on the entire web page use this code.
Insert inside head tag

<HEAD>
<META HTTP-EQUIV="imagetoolbar" CONTENT="false">
</HEAD>

Setting GALLERYIMG=”true” in an IMG tag will override this setting, and the Image Toolbar will be show for that image.

Permanently disable the Image Toolbar in Internet Explorer

Either right-click the toolbar when it is displayed and click Disable image toolbar.
Or
Go to the Advanced tab of the Internet Options which is located on the Tools menu within Internet Explorer. Clear the Enable Image Toolbar check box and click OK. After the image toolbar is disabled, no settings can override this and the image toolbar will not be displayed again until the user selects Enable Image Toolbar.

Remarks:
Please not that you can also use the yes instead of true and no instead of false.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Twitter
  • DZone
  • Linkter
  • NewsVine
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • co.mments
  • Facebook
  • LinkedIn
  • Live
  • MySpace
  • Tumblr

Implementing CAPTCHA using PHP

How to implement a CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart) using PHP

Implementing CAPTCHA using PHP

captcha captcha

Steps involved in this tutorial:

  1. Create a background image, the more messier the more better.
  2. Load a font file to display the CAPTCHA text
  3. Generate a random unique text
  4. Store the generated text in a Session variable to be used later for validation
  5. Write the CAPTCHA text to the image created in Step 1
  6. Generate the CAPTCHA image
  7. Also created a php page with the CAPTCHA image, a text box for input and a Submit button to show a working model (this step is not explained in detail, its simple PHP code, download and check the source files)

Click here for a working model
Continue reading Implementing CAPTCHA using PHP

Share and Enjoy:
  • Digg
  • del.icio.us
  • Twitter
  • DZone
  • Linkter
  • NewsVine
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • co.mments
  • Facebook
  • LinkedIn
  • Live
  • MySpace
  • Tumblr

eInternals blog

Welcome to eInternals blog. Launched on Christmas Eve 2007.

Please check frequently for new stuff.

Merry Christmas :)

Share and Enjoy:
  • Digg
  • del.icio.us
  • Twitter
  • DZone
  • Linkter
  • NewsVine
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • co.mments
  • Facebook
  • LinkedIn
  • Live
  • MySpace
  • Tumblr