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

Last change on this file since 2394 was 2335, checked in by joachim, 17 years ago

use File Image Widget in clearance, don't use on live system

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