We're using imagemin (^3.1.1) as part of a Wordpress starter theme and within a Windows environment. We need to ignore the Thumbs.db file in the source image folder so have modified the code as follows:
The issue is that having done this, though the Thumbs.db error goes away, it now sends imagemin into a infinite loop after successfully minifying the relevant image as shown below:
Any help on how to prevent this would be greatly appreciated.
Hi guys,
We're using imagemin (^3.1.1) as part of a Wordpress starter theme and within a Windows environment. We need to ignore the Thumbs.db file in the source image folder so have modified the code as follows:
FROM THIS
TO THIS
The issue is that having done this, though the Thumbs.db error goes away, it now sends imagemin into a infinite loop after successfully minifying the relevant image as shown below:
Any help on how to prevent this would be greatly appreciated.
Cheers in advance,
Will