Fixed issue with absolute path in get_thumbnail_path.