eBook Scripts
how to make a graphic that the user can save to a file


How to make a graphic that the user can save to a file


This script demonstrates how to save graphics, embedded inside an e-book, into external files. This is useful is the e-book contains Clip Art or other content that author wishes to provide a save-to-file facility for.

  1. A picture will typically be embedded in an e-book using something like the following HTML code (where picture.jpg is the name of the picture:

  2. The follow demonstrates how to make the image clickable. When the image is clicked, the user is prompted whether they would like to save the image (and if so to which file name and folder). If the user decides to save the image, the original file is copied from the e-book to the user's chosen destination:

  3. Very often in Clip Art type e-books, the author may wish to provide a thumbnail type view of an image, which when clicked saves the original image. This example demonstrates how to do this. In this example, picture.jpg is the name of the image to save, and thumbnail.jpg is the name of the thumbnail image that is displayed within the e-book.

  4. Incidentally this idea is not specific to graphics, for example, you could just as easily embed a ZIP, PDF, WRI, BMP or any other format the user can copy from within your e-book to their own file using the same principle.

    For HTML files (files whose names end with .htm or .html) be sure to set the File Protection for HTML files to Low Security (in the Advanced Security settings dialog box) if using Activ E-Book Compiler 4.20 or later.

  1. This script has been tested with Activ E-Book Compiler versions 4.00, 4.01, 4.20, 4.21 and 4.22 (4.22 is the latest version at the time of writing). It is possible that changes might be required for e-books made with subsequent versions.


Home: eBook Code
Design Tips

Other Sites about eBooks

Learn about eBook publishing

Software to create your own eBooks

Create eBook Covers with ease

Add multimedia to your eBooks

Discuss eBooks

Read about other eBook authors' experiences

Learn about eBook marketing

Searchable directory of eBooks

Related Links

Affiliate Programs
Affiliate Marketing Downloads
Affiliate Marketing eBooks
Affiliate Program Reviews

eBook Authoring
eBook Authoring Downloads
eBooks for eBook Authors
eBook Compiler Software
eBook Cover Creation
eBook Cover Software

Ezine Guide
Increase Website Traffic
Internet Marketing Guide
Internet Marketing Help
Press Release Guide

Search Engines
SEO Guide
SEO Tools

Your Site
Adobe Dreamweaver
Adobe Dreamweaver Tutorials
Accept Credit Cards
Domain Names
Web Design eBooks
Web Design Tools
Web Hosting
Web Hosting Directory
Webmaster Tools Directory


Disclosure: Advertising Link(s): Our company may receive a payment if you purchase a product/service after following this link.

Disclosure: Our company's websites' content (including this website's content) includes advertisements for our own company's websites, products, and services, and for other organization's websites, products, and services. In the case of links to other organization's websites, our company may receive a payment, (1) if you purchase products or services, or (2) if you sign-up for third party offers, after following links from this website. Unless specifically otherwise stated, information about other organization's products and services, is based on information provided by that organization, the product/service vendor, and/or publicly available information - and should not be taken to mean that we have used the product/service in question. Additionally, our company's websites contain some adverts which we are paid to display, but whose content is not selected by us, such as Google AdSense ads. For more detailed information, please see Advertising/Endorsements Disclosures

Our sites use cookies, some of which may already be set on your computer. Use of our site constitutes consent for this. For details, please see Privacy.

In Association With Amazon.com
Answers 2000 Limited is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com.
In Association With Amazon.co.uk
Answers 2000 Limited is a participant in the Amazon EU Associates Programme, an affiliate advertising programme designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.co.uk.

Contact Us     About/Terms Of Use     Privacy     Site Map     Advertising/Endorsements Disclosures

Copyright © 2002-2015, Answers 2000 Limited