Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Tips / Resource Folders

Resource Folders

Icon Image 之類的資源,在註冊之後,可透過 ++resource++my.pkg/my-icon.png 網址來存取,用來取代 Skin Layer 功能。

Resource Registration

zope.browserresource

<browser:resource
  name="myfile"
  file="/path/to/static.file" />

<browser:resourceDirectory
  name="main-images"
  directory="/path/to/images" />

resourceDirectory

MimetypesRegistry Icons are now a Browser Resource Directory instead of Skins Folder

SVG Icon

Override Thumb Size for List View