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
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?
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