Sinotar Download

Sinotar Album

Version 1.2

Welcome to the Sinotar Album!

The Sinotar Album is designed for any professional and amatuer photographers to manage their pictures. In just a few seconds, you can start running Sinotar Album to generate thumbnails, medium-sized pictures (for web viewer), upload album to your web server automatically!

Who should use Sinotar Album

System Requirements

Download

Installation

Download the software and unzip it to any appropraite folder (for example: C:\Album).

Get Started

  1. Define an album by making a copy of shipped sample album.xml file (for example: my_album.xml).
  2. Read the my_album.xml file and specify the appropriate parameters. The file is self-explained, including the parameters for location of the original pictures, generated album location, FTP/Web server information.
  3. Click Windows "Start" at bottom left screen, and then click "Run ..." from popup windows menu.
  4. Type in cmd in the "Run" window the click "OK".
  5. Change to the directory where Sinotar Album is unzipped. For example:

    C:\> cd C:\Album

  6. Run Sinotar Album:

    C:\> runAlbum my_album.xml

  7. You can find the generated album at the location you specified in my_album.xml file.
  8. That's it!

Album Configuration (XML) Reference

The following table lists all parameters in album configuration xml file.
Parameter Key Description Sample Value
sourceFolder Source(or raw) image file location C:\pictures\party200701
albumFolder The target album folder (will be created if not exists) C:\albums\party200701
pictureTimeAsceding Set to true to handle older picture first. Set to false to handle new picture first. true
encoding Instruct to render albumt/picture tile text correctly if different from USASCII.

Leave as it is if you are not dealing with any language other than English.

GB2312
albumTitle Albumt title text shows on the generated album files. Party 2007 Album
pictureTitle Picture title text

Picture title text will be stamped on generated medium size pictures. Typical text could be copyright notice, photo by, or the picture theme.

You may embedded date/time information in picture title text.

If you want to embed album generate time in picture title text, use

<%= now@yyyy.MM.dd %>

If you want to embed picture taken time (or picture file generated time), use

<%= taken@yyyy.MM.dd %>

Here is an example:

<![CDATA[ Taken On <%= taken@yyyy.MM.dd %> Generated on <%= now@yyyy.MM.dd %> ]]>

Where <![CDATA[ and ]]> is the standard XML data section quote. yyyy.MM.dd is the Java notation for date/time pattern.

Please refer to the following table for Java date/time pattern.

Letter Date or Time Component Examples
G Era designator AD
y Year 1996; 96
M Month in year July; Jul; 07
w Week in year 27
W Week in month 2
D Day in year 189
d Day in month 10
F Day of week in month 2
E Day in week Tuesday; Tue
a Am/pm marker PM
H Hour in day (0-23) 0
k Hour in day (1-24) 24
K Hour in am/pm (0-11) 0
h Hour in am/pm (1-12) 12
m Minute in hour 30
s Second in minute 55
S Millisecond 978
z Time zone Pacific Standard Time; PST; GMT-08:00
Z Time zone -0800
Party 2007, Photo by Sinotar (c)
keepRaw The value of this parameter will not affect source image. If set true, raw files will be copied to be part of album. When this album gets uploaded to web server, viewer can download raw (or high resolution) pictures. For online picture viewing only, set value to be false. false
rebuildAlbumNote If set true, album_note.js will be overwritten if exists. album_note.js is where all manually input picture note kept for each image file. It is recommended to set value to be false. false
rebuildExistingPicture If set false, existing image will not be rebuilt for thumbnail and medium size files. false
chineseFont Default Chinese font used to render picture title if it is in Chinese text. Ignore this parameter if you are not using any Chinese text for picture title. Simsun
englishFont Default English font used to render picture title if it is not Chinese text. Verdana
subtitleForegroundColor picture title foreground color #AAAAAA
subtitleBackgroundColor picture title background color #222222
numerPerPage Number of thumbnail pictures to show for each page on index page. 50
slideIntervalInSeconds Album slide show time interval in seconds 3
siteName site name shown on generated album pages Sinotar Software
siteURL site link shown on generated album pages http://www.sinotar.com
smallScaleRatio Scale ration used to generate thumbnail picture If not set, smallScaleWidth parameter will be used. .02
smallScaleWidth Fixed width used to generate thumnail picture. 60
mediumScaleRatio Scale ration used to generate medium-sized pictures If not set, mediumScaleWidth parameter will be used. .2
mediumScaleWidth Fixed width used to generate medium-sized picture. 600
mediumImageFilter Image filter algorithm applied to medium size images. The name is predefined and it is case sensitive. Leave it blank if not filter is applied. Separate multiple filters by space. Current supported filters are: Sharpen, Blur, Smear, Light, LensBlur, Gray, Grayscale, Weave, Noise, Crystallize, Chrome, Emboss, Kaleidoscope, Marble, Perspective, Mirror, Pinch, Sphere, Twirl, Water Sharpen Water
albumTemplate Album Template used to generate album. This is an advanced option. Usually the template files are shipped with this product. The current release has two templates (default.jar and gallery.jar) shipped. For those who want to use their own template file, you need create your own template first, and then set its path here. To learn how to create your own template file, please unjar (or unzip) the default.jar (or gallery) file and use it as starting template. data/album/template/default.jar

Or


data/album/template/gallery.jar

ftpUploadEnabled If set false, no FTP happens. All rest of FTP parameters are ignored. If set true, FTP generated album files to remote FTP server specified. false
ftpUploadAll If set true, upload everything associated with generated album. If set false, only those updated files/images will be uploaded. This parameter will be ingored if ftpUploadEnabled (see above) is set false. false
ftpHost FTP Host name (or IP address) ftp.mysite.com
ftpPort FTP server port. The default port is 21 for FTP server. 21
ftpUser FTP user account name.
ftpPassword FTP user account password.
remoteFolder Destination folder where the album should be generated. It will be created if does not exist. /home/mysite/public_html/album

License/Price and Warranty

Reporting Problems

Keeping in Touch


Sinotar Software
(c) All Rights Reserved.
http://www.sinotar.com/