Developer Center

Organization of a skin

The file and directory structure of a skin directory is as follows

[Skin name]
  • skin.properties— Property file containing meta information
    (Properties: author, username, company, version, creationDate, lastModifiedDate, description, homePage, requiredJalbumVersion, autoWidgetInjection)
  • index.1 — Template file for index pages.
  • slide.htt1 — Template file for slide show pages
  • frameset.htt — Template file to describe albums that uses frames
  • common.css — Common style sheet file (intended to be shared by multiple styles). Will be processed and added to the "res" directory of the generated album. (since v8.5.3)
  • hints.jap — Layout hints file if the skin is intended to be used with a certain image size etc. File format is simply a subset of a Jalbum project file
  • init.bsh — BeanShell script that is executed on album generation
  • postdir.bsh — BeanShell script that is executed after an album directory has been processed (since 8.5.3)
  • finally.bsh — BeanShell script that is executed after album generation (since v8.0). Also see executedNormally variable
  • onload.bsh — BeanShell script that is executed on skin selection/loading
  • preview.jpg — Preview image
  • res
    • folder.gif — Icon used for directory links
    • movie.gif — Icon used for movie links
    • (additional images and files that you need. All are copied to the res directory of generated albums)
  • styles1
    • (style sheet files. Example "bright.css". Will appear for selection in Jalbum. The selected file will be processed and added as style.css in the res directory of the generated album).
    • Style-specific resource directories (same base name as style file. Example "bright"). Resource files put here have precedence over those put in the general "res" directory.
    • Style specific preview images (same base name as style file. Example "bright.jpg")
  • texts
    • texts_language.properties — Property file(s). Stores text strings for a certain language for multilingual skins (UTF-8 encoded). The language part of the file name is a lowercase ISO two character code
  • plugins
    • Java class files (compiled scripts in order to gain speed for instance)
  • lib
    • Java class files packaged as .jar files (usually 3:rd party libraries).
1 Mandatory file or folder