@staticmethod<EOL><INDENT>def crop_box(endpoint=None, filename=None):<DEDENT>
crop_size = current_app.config['<STR_LIT>']<EOL>if endpoint is None or filename is None:<EOL><INDENT>url = url_for('<STR_LIT>', filename='<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>url = url_for(endpoint, filename=filename)<EOL><DEDENT>return Markup('<STR_LIT>' % (url, crop_size))<EOL>
Create a crop box.

        :param endpoint: The endpoint of view function that serve avatar image file.
        :param filename: The filename of the image that need to be crop.