Could you please provide file name of at least one photo uploaded to “uploads/2020/01” folder? Or screenshot. Because the only thing that comes to my mind is that all are WP thumbnails ending with -{width}x{height}.jpg
which are ignored by this plugin.
Or if you manually created that folder (through FTP), you could try to delete it and let WordPress create it (by uploading 1 photo from Media Library), and then you can try to add those 180 photos to new folder and run the scan.
Oh I see. Yes they are images I transferred FTP matching that convention. Is this behavior modifiable by me or would that be problematic? Thanks.
Unfortunately, there is currently no option to change that in this plugin (neither in options or with hook function).
I wouldn’t recommend editing any plugin directly, but if it’s a one-time thing and you really need to do it, you can open: wp-content/plugins/media-sync/includes/MediaSync.class.php
and on line 636, replace this:
$is_thumb = preg_match('/[_-]\d+x\d+(?=\.[a-z]{3,4}$)/im', $file_name) == true;
with this:
$is_thumb = false;
I hope I’ll find some time to make that configurable.
-
This reply was modified 4 years, 3 months ago by erolsk8.