• Resolved Stevedo5660

    (@stevedo5660)


    This is a follow-on from a post that was marked as resolved when there were still outstanding questions/clarifications. (https://ww.wp.xz.cn/support/topic/images-used-only-in-foogallery/)

    Please could you clarify if the Pro version would address my requirements as detailed below.

    Hi Jordy, many thanks for your thorough reply. I ran the cleaner and have the following observations to make.

    1. I removed about 2.5GB of files from my media library and did not break anything 🙂 I am left with only 4 images that I use as sliders only in my theme. I chose to ignore those and this was expected behaviour as per the documentation. Happy days.

    2. I have 2,100 media files listed in my media library as unattached that do not show up in the items with issues list. I am pretty sure that these are media files that I have added to FooGalley galleries. To test this I added one new file to the library and did nothing with it. I then ran a scan and the new file was shown in the issues list as expected (it is the only file). I then added the new file to an existing FooGallery gallery and ran the scan again. This time the new media file was not shown in the issues list (the list is reported as “Empty”). So it seems that Media Cleaner (not Pro version) does recognise when a media file is added to a FooGalley gallery unless I’m misinterpreting what I’m seeing.

    3. Regarding the “Custom” image size I mentioned, I don’t think I made myself clear. I upload a new media file size 1024 x 683. I now have my system configured just to create a 200 x 200 thumbnail as well as the original. I do nothing else with the file and run a scan and the new file is listed, as expected. I then add the image to a page but instead of adding either the original size image or the 200 x 200 thumbnail I select an option to insert a “Custom” size and I define 800 x 534 and save the page. When I check the file manager there are no new image files created (I did refresh the interface). I then run the scan again and the new image is not shown in the issues list. So I think I answered my own question. It seems that Media Cleaner detects the fact that an image is in use even if neither the 1024 x 683 or 200 x 200 image is used. I don’t fully understand what’s happening here, it’s just what I observe.

    4. So I still have about 23GB of media files (.jpg) stored. The vast majority of these have been created automatically either by WordPress or my theme. Until recently I did not realise that this was happening, hence my current “project” to clean things up. Media Cleaner has helped me clean out media files that were genuinely not in use and that’s great. However, I still have many thousands of image files that are not in use i.e. all those created by WordPress and my theme but where an “associated” but different sized version of the image is in use. I was hoping that Media Cleaner would help me clear those out, maybe this is why I would need to use the “Filesystem” method that you mention?

    All the best
    Steve

    PS is there a way to embed screenshots in these messages? I created some screenshots to illustrate my testing but could not figure out a way to embed them in this message.

Viewing 1 replies (of 1 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hi,

    The little issue here is that FooGallery is only supported in the Pro version… so I am not sure we should/can talk about it here. Are you using the Pro version? If not, it will certainly not browse the FooGallery data, indeed 🙂 I would like to make sure of that.

    1. Nice! So I wonder which version you are using, really 🙂

    2. Definitely doesn’t in the Free. The data is not “understood” by the Free version, only the Pro one has specific code for this kind of plugins.

    3. Yes, because those thumbnails are actually “used” in the metadata of your media entry. So they must be considered as being so. Your theme or a plugin could call that thumbnail at anytime through dynamic code, and we can’t know that. So Media Cleaner marks the files as used, as soon as they are in the metadata. Normally, that is explained in my tutorial (https://meowapps.com/media-cleaner-tutorial/) otherwise I really need to make it better. It’s an important detail.

    4. This is a bit related to the previous issue. The idea here is not to remove the images at first, but to clean your metadata, and even before that, clean the process which is creating thumbnails. Prepare yourself a tea or a coffee, and please visit this tutorial: https://meowapps.com/wp-retina-2x-tutorial/. It’s about another plugin of mine, which takes care of image sizes, retina, and you can opt out sizes, etc. Once your system is clean on the first part of the process, you will have proper metadata with only what you need (as thumbnails), and Media Cleaner will remove all those now orphan files.

    I hope it helps 🙂

Viewing 1 replies (of 1 total)

The topic ‘FooGallery support’ is closed to new replies.