• The following message has been displayed under media library & Bulk Smush, is there any key reason why the file can not be located?

    The file is displaying within the media library, the permalink & file URL are fine.
    Is the plugin looking for a WordPress standard file structure, metadata or something else?

    Permalink Structure = https://domain-name/file-name/

    “Skipped (maxresdefault.jpg), File not found. We recommend regenerating the thumbnails.”

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Saurabh – WPMU DEV Support

    (@wpmudev-support7)

    Hello @folio1

    Hope you’re doing well today! I am sorry to hear about the issue you’re facing with Bulk Smush.

    Such issues can occur wherein the image is somehow not accessible to Smush due to some customization or the image may have an issue with metadata or the site is using any plugin that can offload the media. However, before we conclude on this, could you please confirm the below points?

    – Are you using any Media Library plugin that maybe storing images in a custom way other than how default WordPress Media Library stores them? I am asking this because you mention the permalink as https://domain-name/file-name/ A default WordPress Media Permalink should look like https://domain-name/wp-content/uploads/yyyy/mm/file-name

    – Can you please confirm if you are using any plugin on the site that can offload the images (Example: WP Offload Media Lite)

    Lastly, can you please make a full backup of your site and install any regenerate thumbnail plugin like https://ww.wp.xz.cn/plugins/regenerate-thumbnails/ and try regenerating the thumbnails and see if that helps?

    Please make sure to backup the site and then perform this action. Please let us know how it goes, and provide more information regarding the above points. It will help us check the issue further.

    Kind Regards,
    Saurabh

    Thread Starter Paul Johnstone

    (@folio1)

    Hi @wpmudev-support7

    Smush Feedabck

    So based on my understanding this was due to the custom file structure within _wp_attached_file,  _wp_attachment_metadata & wp_posts

    And yes this was due to a migration, so all media file have be FTP uploaded.
    No WordPress default file size x5 generation

    Can Smush handle custom file paths?

    I noticed once making the updating to the meta_value within _wp_attached_file & _wp_attachment_metadata and wp_posts guid

    Eg change to: images/default-source/2022/december/file-name.jpg

    This fix the File not Found issue

    The following message then displayed.
    No file data found in image meta.
    We recommend regenerating the thumbnails.

    Custom file path can change from image to image.images/default-source/2022/december/file-name.jpg

    So it sounds like that I will need to generate the default WordPress files?

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @folio1,

    I hope things are going well for you.

    Can Smush handle custom file paths?

    Yes we offers but the directory should be under the site WordPress installation path.
    https://wpmudev.com/docs/wpmu-dev-plugins/smush/#directory-smush

    We are glad to know that you’ve fixed the “This fix the File not Found” issue

    No file data found in image meta.

    Re-generate thumbnail mostly fixed this kind off issue. Please try and share the outcome with us.


    Thanks & Kind Regards,
    Imran Khan

    Hi @folio1

    We haven’t heard from you in a while, I’ll go and mark this thread as resolved. If you have any additional questions or require further help, please let us know!

    Kind Regards,
    Kris

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘File not found’ is closed to new replies.