Page 1 of 1
Updating thumbnails for multiple folders
Posted: 17 Nov 2019 14:49
by Chris Stanbury
I'm trying to update all the thumbnails within subdirectories - I found an addon called ThumbnailMaintenance.xys but even with that I don't seem to be able to build thumbnails for folders that haven't been opened (being sub-directories of the main photo folder - any clues please?
Re: Updating thumbnails for multiple folders
Posted: 17 Nov 2019 15:25
by highend
Code: Select all
$cur = <curpath>;
$dirs = quicksearch("/d");
foreach($dir, $dirs, <crlf>){
goto $dir;
#307; // Function code for Thumbnails #2
}
goto $cur;
end true;
from:
viewtopic.php?t=15810
jaywalker32 wrote the original one, I modified it only slightly
Re: Updating thumbnails for multiple folders
Posted: 17 Nov 2019 17:12
by Chris Stanbury
Thanks, I'm new to XYplorer - I'll take a look to see if I can figure out how to run the script
Re: Updating thumbnails for multiple folders
Posted: 17 Nov 2019 18:41
by klownboy
In the Thumbnail Maintenance script, the option to "Build Thumbnail Cache...current folder & subs" should do what you want. Even if you have no pictures in the current folder it will note that but still build the thumbnails for the sub folders in whatever size(s) you want. The "refresh" options only refreshes or rebuild thumbnails for those folders that have "existing" caches (i.e., use if you want to refresh the cache for image folders you may have done some renaming, deleting or moving or pictures).