We have a website that is using FancyGallery, which saves images into a folder /wp-content/fancygallery/… — I’ve added support for this using the snippet below:
add_filter( ‘webpc_source_directories’, function ( $directories ) {
$directories[] = ‘fancygallery/1’;
return $directories;
} );
(I’ve tried it with both just fancygallery and fancygallery/1 — there are no images in the root of that folder so tried adding /1 which didn’t work)
This DOES add the custom directory, however below in the Bulk Optimization of Images section it doesn’t show any images belonging to that folder. Screenshot below:

(I selected plugins and themes only because if I only have the custom directory selected, it gives in error in the top section about the settings being incorrect, which may be a bug)
Thank you for the plugin by the way Mateusz! Much appreciated.
