Extract all images of your skin with a script to serve them by apache
Following the unloading Plone conference at budapest last year, you may want to serve images from skin directly by apache. To do this you will need first to extract images. So here is a small python script to help you: skintool = context.portal_skins skin = skintool.getDefaultSkin() PATHS = skintool.getSkinPath(skin).split(',') images = skintool.ZopeFind(skintool, obj_metatypes=['Filesystem Image'],search_sub=1) images_skin [...]
Étiquettes: