Last change
on this file since 2352 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
|
Rev | Line | |
---|
[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 | """ |
---|
| 13 | try: |
---|
| 14 | from Products.zdb import set_trace |
---|
| 15 | except: |
---|
| 16 | def set_trace(): |
---|
| 17 | pass |
---|
[2335] | 18 | if path is None and traverse_subpath: |
---|
| 19 | path = "/".join(traverse_subpath) |
---|
[2114] | 20 | return context.waeup_tool.showFsPicture(path) |
---|
| 21 | #import logging |
---|
| 22 | #logger = logging.getLogger('Skins.viewimage') |
---|
Note: See
TracBrowser for help on using the repository browser.