Organization of a skin

Revision as of 6 August 2014 14:39 by sannanordgren (Comments | Contribs)

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

SkinDirectoryStructure.png

1 Mandatory file or folder

2 You should generally not use hints for other things than image sizes and thumbnail sizes, rows and columns. Specifically don't use hints to change directories or scaling quality as this confuses the user.



FolderSymbol3.png

[Skin name]


skin.properties— Property file containing meta information (Properties: author, username, company, version, creationDate, lastModifiedDate, description, homePage, requiredJalbumVersion, autoWidgetInjection)
index.htt1 — Template file for index pages.
slide.htt — Template file for slide show pages (was mandatory until v8.6)
embed.htt — Template file for customizing album embedding. Since v10
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.jap2 — File containing recommended skin presets. Use if skin is intended to have a certain image size for instance. 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
FolderSymbol3.png
res
folder.png — Icon used for directory links