Back to index

plone3  3.1.7
getImageTag.py
Go to the documentation of this file.
00001 ## Script (Python) "getImageTag"
00002 ##title=Get HTML tag for image field, with optional scale
00003 ##bind container=container
00004 ##bind context=context
00005 ##bind namespace=
00006 ##bind script=script
00007 ##bind subpath=traverse_subpath
00008 ##parameters=fieldName, scale = None
00009 
00010 return context.getWrappedField (fieldName).tag (context, scale)