watchDirectory Help

Help Home
Creating New Tasks
Running Tasks
Task History

Plugins

Standard versus Pro
Version History

Search

See Also...




Free 30 day evaluation!
Standard version: $79 USD
Professional version: $149 USD
Buy Now!

 

German Helpfile

German Helpfile

French Helpfile

French Helpfile


Privacy Policy

Automatically Create HTML


This plugin for watchDirectory automates the creation of HTML for thumbnails. It generates HTML files based on fully adjustable "html snippets". Several sample snippets are installed to get you started. See Writing Snippets for more info on creating your own snippets.
This plugin is typically used together with the thumbnail plugin.

watchDirectory settings when you use this plugin

On the Files that trigger Events page of watchDirectory, enter the file type(s) you want to create HTML for. By default *.JPG is the only file type.

On the Events page of watchDirectory, make sure at least the New File and QUIET events are selected.
This plugin will create the HTML a few seconds after the last file activity (new files). This delay is implemented to prevent creating html every time a new picture arrives, which would be wasteful if 300 pictures are created. You want the HTML created a few seconds after all pictures have arrived.

Settings for this plugin

Automatically create HTML for your pictures

Output file name
Enter a name including extension to use to generate your html files. Normally you would use index.html, but if you want to generate different file types (htm, asp, php, whatever), you can enter that instead. The name you enter here is used as a base name for all files created. When there are too many thumbnails to fit on index.html (or default.asp), another page named index_2.html (default_2.asp) is created.
All files are created inside the directory where you store your thumbnails.

Page Title
Enter a descriptive title for the generated HTML pages.

Header HTML Snippet
This snippet is used to write the start of each page. It includes the title and navigation area. Use the dotted button to select a snippet file. The other snippets that have no value yet, are automatically filled with snippets of the same "theme".

Item HTML Snippet
This snippet is written for each thumbnail that is found inside the directory. Use the dotted button to select a snippet file. The other snippets that have no value yet, are automatically filled with snippets of the same "theme".

Footer HTML Snippet
This snippet is used to write the end of each page. It includes a link to your main page, your copyright notice and a navigation area.
Use the dotted button to select a snippet file. The other snippets that have no value yet, are automatically filled with snippets of the same "theme".

Fixed Variables
This is a simple text file (by default FixedVars.ini), containing your settings that will not often change. You can use it to enter your company name, homepage etcetera.

Full Size HTML
This is a snippet that contains the HTML that is written for your full size pictures. As this HTML is generated for only one file there is no need to separate it into a header/item/footer snippet.
Use the dotted button to select a snippet file. The other snippets that have no value yet, are automatically filled with snippets of the same "theme".

Thumbnails per Row / Rows per Page
These settings control how many thumbnails will be shown on each generated HTML page. When there are too many thumbnails for one page, extra pages will be generated.
Note: Having a lot of thumbnails on your page will make the page load very slow on the internet. Besides the size (kilobytes) of your pictures, a browser will typically request only a few pictures at a time, causing noticeable delays for visitors.

Now press next to Configure the Directory to MonitorNext