<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_thumbnail_name(self, thumbnail_options, transparent=False, high_resolution=False):
 """ A version of ``Thumbnailer.get_thumbnail_name`` that returns the original filename to resize. """

        path, filename = os.path.split(self.name)

        basedir = self.thumbnail_basedir
        subdir = self.thumbnail_subdir

        return os.path.join(basedir, path, subdir, filename)