Updating thumbnails for multiple folders

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Chris Stanbury
Posts: 2
Joined: 16 Nov 2019 15:15

Updating thumbnails for multiple folders

Post 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?

highend
Posts: 14954
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Updating thumbnails for multiple folders

Post 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
One of my scripts helped you out? Please donate via Paypal

Chris Stanbury
Posts: 2
Joined: 16 Nov 2019 15:15

Re: Updating thumbnails for multiple folders

Post 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

klownboy
Posts: 4462
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: Updating thumbnails for multiple folders

Post 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).

Post Reply