source: WAeUP_SRP/base/skins/waeup_utilities/viewimage.py @ 2678

Last change on this file since 2678 was 2675, checked in by joachim, 17 years ago

new images directory structure

  • Property svn:keywords set to Id
File size: 549 bytes
Line 
1## Script (Python) "viewimage"
2##bind container=container
3##bind context=context
4##bind namespace=
5##bind script=script
6##bind subpath=traverse_subpath
7##parameters=path=None
8##title=
9##
10# $Id: viewimage.py 2675 2007-11-16 09:45:30Z joachim $
11"""
12"""
13try:
14    from Products.zdb import set_trace
15except:
16    def set_trace():
17        pass
18if path is None and traverse_subpath:
19    traverse_subpath.insert(0,traverse_subpath[0][0])
20    path = "/".join(traverse_subpath)
21       
22#set_trace()
23return context.waeup_tool.showFsPicture(path)
24#import logging
25#logger = logging.getLogger('Skins.viewimage')
Note: See TracBrowser for help on using the repository browser.