GALLERYIMG Attribute | galleryImg

HTML (DHTML)

GALLERYIMG Attribute | galleryImg Property

Internet Development Index

Sets or retrieves whether the My Pictures image toolbar is visible for the current image.

Syntax

HTML<IMG GALLERYIMG = bToolbar... >
ScriptingIMG.galleryImg [ = bToolbar ]

Possible Values

bToolbarInteger that specifies or receives one of the following values.
yes | trueDefault. Image toolbar is enabled for the image.
no | falseImage toolbar is disabled for the image.

The property is read/write. The property has a default value of yes | true.

Remarks

If this attribute is set to yes on an image-mapped image (USEMAP or ISMAP), the GALLERYIMG attribute will override the mapping attribute and the image toolbar will be enabled.

In addition to disabling the My Pictures image toolbar on an image-by-image basis, it can be disabled page wide or permanently. To disable the image toolbar for an entire Web page, use the HTTP-EQUIV and CONTENT attributes of the meta element. Set HTTP-EQUIV="imagetoolbar" and CONTENT="no" (or false)and the image toolbar will be disabled for the entire page. Setting GALLERYIMG="yes" will override this setting. To permanently disable the image toolbar, either right-click the toolbar when it is displayed and click Disable image toolbar. Alternatively, 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.

Example

It is possible to enable the image toolbar on an image that is smaller than the My Pictures default size filter of 130 pixels wide by 130 pixels high. The following code will display the My Pictures hovering toolbar on a small image that would normally not display the toolbar.

...
<IMG SRC="mypicture.jpg" HEIGHT="100px" WIDTH="100px" GALLERYIMG="yes">
...

Applies To

IMG

See Also

Measuring Element Dimension and Location, About My Pictures Photo Support