How to
What do I do after download file ?
Download file is jar archive. (webGallery.jar).
You dont need nothing extract. You must the file execute with JRE (Java).
In sometimes just click right mouse button and select Open with "Java".
Otherwhiles is need execute application in the command line:
java -jar webGalleryGenerator.jar
What is JRE ?
JRE - Java Runtime Environment provide for execute programs in Java.
JRE content Java Virtual Mashine, which work as interpret for Java programs.
When You want execute
Java application, You must install the JRE.
You can test install Java:
java -version
When is Java correct install the shell write version of java else you must install JRE.
How do I fill the form?
- Source directory
- Directory, where content the source fotos.
- Destination directory
- In this directory the application make XHTML file, previews and modified fotos.
- Title
- The text will put between tags <title> </title> in the XHTML files.
- Context path
- The text will add to path to fotos. Show example.
- Charset
- The XHTML files will be in this charset.
- Image size
- Max side of image. When the image has larger width it will be max width. When the image has larger height it will be max height.
- Preview size
- Max side of preview. When the preview has larger width it will be max width. When the preview has larger height it will be max height. When do you want have the preview trim to square, show selection Trim previews to square.
- Image in row
- Every one "(your number)" image will end tags <DIV class="clear"></DIV>
- Css context path
- In XHTML files add to <link rel="stylesheet" type="text/css" href="your_Css_File.css" />
- Trim previews to square
- Cut the previews to square. Show example. All previews will have same size.
- Header Image
- Create special preview. Name this file will be "preview/hImage.jpg". This special image can use for example on the HomeSite.
Can you change source code?
Yes, the application use templates. Show in directory tempates into webGalleryGenerator.jar file. You can change template and source code willaccordance with yourself.
<?xml version="1.0" encoding="_CHARSET_" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=_CHARSET_" /> <title>_TITLE_</title> <link rel="stylesheet" type="text/css" href="_CSS_PATH_" /> <link href="img/favicon.gif" rel="icon" type="image/png" /> </head> <body> <div class="fotoWebGallery"> <h3>_TITLE_</h3> <img class="img" src="_IMAGE_" width="_WIDHT_" height="_HEIGHT_" alt="Foto" onClick="window.close();" /> </div> </body> </html>
Instead the "_VALUES_" put application text from fill form.