eBook authors eBook Software - create and publish your own ebooks
Create your own eBooks
 
   
EBookApprentice.com
Learn How To Create, Publish & Market E-Books
 
   
EBookCompiler.com
E-Book Creation Software
 
   
EBookPower.com
Add sophisticated multimedia to your E-Books
 
   
CoverFactory.com
Create E-Book covers in minutes
 
 
  EBookSubmit.com
E-Book Marketing & Promotion made easy
 
  EBookJungle.com
Search engine for E-Books
 
  EBookInterviews.com
Interviews with eBook authors
 
  EBookEnhance.com
Tools for building better eBooks
 
 
 
Archived Message:

Image folder works!


 
rlemire Think outside the box - adding an "images" folder to Activ E-Book

Many Activ E-Book users have asked if they could use an "Image" folder in the "Source" folder directory - until now that answer has always been NO!
Activ E-Book can not compile a folder in the "Source" directory - in fact it does not recognize the existence of ANY folder in the "Source" directory.

But wouldn't it be great to store all of your images (and other files) in a separate folder. This would cut down on the confusion and clutter that happens when you are forced to stick all of your resource files in the same folder as your HTML content.

Now - "Thinking outside of the box" allows you to copy or construct your HTML content in the "Source" directory with images (and other files) stored in a separate images folder.

How is this possible? Activ E-Book has it's own Activ Script language that allows you to launch and run external "exe" programs. I thought "zipping" an images folder into a "self-extracting" zip file might allow Activ E-Book to use an "images" folder in the temp working directory. I was right!

To Make this work I created an "images" folder in the "Source" directory and moved all of my images into the "images" folder. [color=darkred](all image links in the content must then point to i.e. "images\myImage.gif" etc.)[/color] Then I used a compression program like "WinZip" to zip the "images" folder into a "self extracting" file called "images.exe". The zip program must be set to (silently) "un-zipped" the "images" folder in the current directory.

[color=darkgreen]When "images.exe" is run it reconstructs the "images" folder and all of it's files in the directory where the "images.exe" program is run.[/color]

To "run" the "images.exe" program in an eBook you must enter the following code in the Activ E-Book --
Edit\Add-Ins..\On Start Option --  [color=darkblue]##RUN('images.exe')[/color]. When Activ E-Book starts the first thing it will do is un-compress the "images.exe" file and store the images folder and all of it's files in the "temp" working directory.

One drawback of this technique is that Activ E-Book will not remove the "images" folder or any of it's files when the program closes. This will leave the "images" folder stranded in the "temp" working directory. To solve this problem you can download a special file called "DelFld.exe" DelFld.zip

To use "DelFld.exe" place it in your Project "Source" folder enter [color=darkblue]##RUN('DelFld.exe')[/color] in the Activ E-Book -- Edit\Add-Ins..\On Exit Option.  DelFld.exe will then delete the "images" folder and all it's files when the eBook closes.

BTW: the Image folder must be named "images"

I hope all Activ E-Book users find this idea of useful

New Attn: The original link for DelFld.zip vanished so I added a new URL. Just unzip to get the DelFld.exe file.

Ron

(Edited by rlemire at 9:49 pm on Jan. 25, 2009)

(Edited by rlemire at 10:40 am on Jan. 26, 2009)


Posted on: 4:12 am on July 15, 2008
Alaska Wow, Ron. Nice Work.

Bit of a hassle to get a working image folder, but if you gotta have it, you gotta have it.

Now, if we could only see that new release somewhere in our lifetimes...  

You still kickin', Sunil?


Posted on: 6:48 pm on July 16, 2008
RiffRaff Smartypants....

Posted on: 9:16 am on July 17, 2008
rlemire Hi RiffRaff;

Great to hear from you :-)

Always thinking -- but someone was bound to figure this out sooner or later.

It will help people who have an existing eBook/website that uses an "image" folder... so they do not need to change/modify all of their "image" code. It could also cut down on the confusion in your "Source" folder if you have a large number of images.

Ron


Posted on: 7:20 pm on July 22, 2008

Go to Active Discussion Thread

Participate in Current/New Discussions

List All Archived Forums



Copyright © 2000-2015, Answers 2000 Limited.

With any business, it is up to the individual owner of said business to ensure the success of the business. You may make more or less than any sample figures or results that might be quoted on our web sites or other publications. All business involves risk, and many businesses do not succeed. Further, Answers 2000 Limited does NOT represent that any particular individual or business is typical, or that any results or experiences achieved by any particular individual/business is necessarily typical.

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.

Contact Us    About and Terms Of Use    Privacy    Advertising/Endorsements Disclosures