Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q763 How can I force an image to be downloaded but not displayed in the browser window?

irt.org | Knowledge Base | JavaScript | Image | Q763 [ previous next ]

Q763 How can I force an image to be downloaded but not displayed in the browser window?

Try:

<IMG SRC="picture.gif" WIDTH="1" HEIGHT="1">

or:

<SCRIPT LANGUAGE="JavaScript"><!--
if (document.images)
    myImage = new Image();
    myImage.src = 'picture.gif';
//--></SCRIPT>

Feedback on 'Q763 How can I force an image to be downloaded but not displayed in the browser window?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 6th July 2009. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2009 irt.org, All Rights Reserved.