Hello, i searched the net for hours now, and tried tons of adjustments. But i can't get this working! Im using LocalFS 1.0.0 and want to get a randomly selcted image out of a folder. My LocalFS object is called "Photos" and in a ZTP i call <img src="Photos/dummy.jpg" tal:replace="structure container/Photos/Schule/thumb/getRandom"> in the getRandom Python script i only have return random.choice(context.fileValues('File')) Btw: i tried the most current LocalFS from CVS, too It "worked" even with the objectValues method. But the big problem is that its very very slow. It took *several minutes* to show a folder in ZMI with about 50 pictures (about 100 kB each) in it; during this the cpu load is eaten completeley by python threads. Really thanks in advance, Oli Keller -- "What're quantum mechanics?" "I don't know. People who repair quantums I suppose." --Terry Pratchett, "Eric"