code: def no_param_shortcut(parser, token):
      
      bits = smart_split(token.contents)
      tagname = bits.next()
      try:
          imageurl = bits.next()
      except StopIteration:
          raise template.TemplateSyntaxError("%r tag requires at least the image url" % tagname)
  
      return MogrifyNode(imageurl, [(tagname, ), ])
docs: Shortcut to transmogrify thumbnail