devmimi
Forum Replies Created
-
Forum: Plugins
In reply to: [Media Library Folders] Duplicate images on subsequent syncThank you very much, Alan!
Forum: Plugins
In reply to: [Media Library Folders] Duplicate images on subsequent syncHi Peter/Alan,
What Peter described is what I see, only the -scaled named images get duplicated in MLF, not the server side. However, from my testing, I found that it was not the file size that triggered the scaling, but the image dimensions (I understand this is a wordpress behavior not MLF’s). It is strange though that the -scaled filename causes the sync to assume it is a new file because it seems like the initial file synced to MLF already had that exact -scaled filename.
Peter, I will be looking into updating to php 7.2.
Thanks!
Forum: Plugins
In reply to: [Media Library Folders] Duplicate images on subsequent syncHi Peter and Alan,
Thanks for your responses. I’m glad that it is not supposed to happen because other than this issue, I think MLF Pro would be what I am looking for.
I tested a few scenarios and it seems like the duplication only happens with images that are large in dimensions (for example 3000 x 2000), file size does not seem to trigger this though. For these large images, it looks like wordpress generates a filename-scaled.jpg version in addition to the other sizes. It is this scaled image that is synced to the media library, and duplicated with each sync. Other images that not scaled by wordpress are not duplicated.
Peter- the image names remain the same- filename-scaled.jpg, but the url appends a number to subsequent duplicates. I don’t have the library set to save in month/year folders.
Versions:
WordPress Version: 5.3.2
PHP Version: 5.6.40Alan, I will email you the System Info.
Thanks for the help!