diff --git a/components/editorControls/folderbrowser/folderBrowser.cs b/components/editorControls/folderbrowser/folderBrowser.cs index 0467f13326..4c7fc30d42 100644 --- a/components/editorControls/folderbrowser/folderBrowser.cs +++ b/components/editorControls/folderbrowser/folderBrowser.cs @@ -60,10 +60,10 @@ namespace umbraco.editorControls // Check for thumbnail! string fileNameOrg = p.Value.ToString(); string ext = fileNameOrg.Substring(fileNameOrg.LastIndexOf(".")+1, fileNameOrg.Length-fileNameOrg.LastIndexOf(".")-1); - string fileNameThumb = SystemDirectories.Root + fileNameOrg.Replace("."+ext, "_thumb.jpg"); - if (File.Exists(IOHelper.MapPath(fileNameThumb))) + string fileNameThumb = fileNameOrg.Replace("."+ext, "_thumb.jpg"); + if (File.Exists(IOHelper.MapPath(IOHelper.FindFile(fileNameThumb)))) { - writer.WriteLine("\""   "); + writer.WriteLine("\""   "); } } }