Why is this meta key is saved for every file in database? _frou_original_filename
Is it necessary?
]]>Hi, i’m using query monitor to find bugs and found this issue.
there’s a slow query with Plugin: file-renaming-on-upload. this is seen in backend of WP on every pages.
The query:
SELECT?DISTINCT?YEAR( post_date )?AS?year, MONTH( post_date )?AS?month
FROM?table
WHERE?post_type = 'attachment'
ORDER?BY?post_date?DESC
Caller:
wp_enqueue_media()
wp-includes/media.php:4694
WeDevs_Settings_API->admin_enqueue_scripts()
wp-content/plugins/file-renaming-on-upload/vendor/tareq1988/wordpress-settings-api-class/src/class.settings-api.php:39
do_action('admin_enqueue_scripts')
wp-includes/plugin.php:517
It would be great if you could add an option to rename to a UUID.
]]>Hi,
Activating the plugin in Breakdance causes CSS loading issues on the frontend.
]]>Hello,
Is it possible to rename all images or rename images in a specific directory by Wp-cli?
Thanks
]]>Hi Omar & Pablo!
This appears to be a useful plugin, however, I the settings aseem like they are not being displayed properly. When the plugin is first initialized, the default rules checkboxed (characters & lowercase) display but when the “save changes” button is presed, they disappear.
\Thanks!
]]>Hi, when I tried to check the convert characters, lowercase and post title, it doesn’t save the checkmarks. Any idea why? I have deactivated all other plugins and still the same.
]]>Hello,
I have make some updates to add ‘author name’ as file name on plugin but when I commit the repo from SVN I got an error. Can you help me to update your plugin ?
]]>Hello. I am pulling in a feed and importing the images but they come in with no extensions and are being used as featured images. Would the pro version of the plugin be able to update the extension to .jpg after having no extension at the time of import?
]]>Hi, does this Rename image upload from Frontend listing to the Listing title name?
]]>Hi there,
Wondering if you could make this plugin support Chinese post title , ie rename the file into Chinese name as currently it does not support renaming file name with Chinese characters.
Thank you!
]]>Hi!
I would like to use the code below as a base.
add_filter( ‘frou_sanitize_file_name’, function($filename_infs){
$filename_infs[‘structure’][‘translation’][‘my_custom_rule’] = get_current_user_id();
return $filename_infs;
}, 20 );
It doesn’t work: $filename_infs[‘structure’][‘translation’][‘my_custom_rule’] = get_the_ID();
How do I get back the post ID (not the get_current_user_id)?
Bets regards,
Peter
Hello,
Is this plugin compatible with WordPress 6.0?
As of July 9th 2022 it says “Tested up to 5.9.3”.
Thank you very much.
]]>Hi Pablo,
We are interested in using the pro version of the plugin to rename files that are uploaded as part of a WooCommerce sale.
The file would be for the purpose of T-Shirt customisation and the file name change we would be looking to make would be based on the amount of T-Shirts purchased and also the product variation.
The question is would your plugin be able to see the selected variations from the product order so that we could add it to the end of the file name?
Hi
Is it possible to support greek characters?
Because now, if post title is in Greek, file name will bw : “.jpg”
Greek characters gone.
Thank you
]]>I can report that a conflict with WpForms version 1.7.2 has appeared. It worked fine up til the the version 1.7.1.2
The problem is that you cannot upload files within a WpForms form any more.
And the developers of WpForms doesn’t seem to think it is their fault. :/
I’m trying to get them to tell us what action to exclude like we did in the following solution:
https://www.ads-software.com/support/topic/profile-photo-uploads-stops-working/
Still no result though.
Will update this thread if I get something that works.
Hello,
Anyway to set it working with images in product description?
I test it with Woo products, it seems only renaming featured image and gallery images, bu it does not rename the images in product description, anyway to make it and update image names in product description html?
Thanks
]]>Hello,
When your plugin is enabled, importing a CSV file for product import with the plugin mentioned in this thread’s title doesn’t work anymore (https://www.ads-software.com/plugins/product-import-export-for-woo/).
As I don’t know where the issue lies, I’m posting on both plugins’ support pages (https://www.ads-software.com/support/topic/no-fields-found-on-product_samplecsv-csv-import/).
Thank you very much.
]]>Hi there,
thank you for this great plug-in that solve many issue at once.
I’m facing a bug, or rather a blocking situation.
In some cases, the file upload fails, in the media library, on the right, insted of the media detail there is an error message saying “impossible to insert the attachement into the database” (my wp is in french so I translated the error message)
I assume this might be due to file name lenght, as using post title plus file name might create long names.
I thus have added a value to truncate names, but the issue persist.
if I disable your plug-in I can successfully upload my file.
Do you have any clues what may cause that ?
is there a recomended setting for file name lenght to truncate ?
for admin, it’s anoying, but one might disable the plug-in for the time of upload, but for editors it is totally blocking, and thus a huge issue
Any help would be greatly appreciated.
Regards
]]>Is this plugin compatible with ShortPixel Image Optimizer?
As reported here: https://help.shortpixel.com/article/117-why-are-my-images-re-compressed
There are file renaming plugins that, by renaming in a destructive method, trigger re-optimization because they make ShortPixel “think” that the images are new.
Is this the case?
]]>Can you please make it so in the options there is a choice to “random rename” uploads by a specified character length?
That would be cool!
]]>Hi, I tested your free version of the Plugin, but it didn’t solve my need.
When Uploading the photo in woocommerce I need to change the file name to be the same as the name of the product title of woocommerce, but your Plugin didn’t do that, is there any configuration?
I also need you to fill in the fields (Alternative Text, Title, Caption, Description and most importantly that the file name be renamed according to the product title).
If you have this complete solution, thank you very much.
And my congratulations for the great plugin.
Hello,
this is probably a problem that affects all frontend forms regardless of the plugin used.
your plugin does not understand what happens when you send images via a form it cannot intercept and rename the uploads the first time.
I use the jetengine solution
but you can use any other free plugin,
here is a free from the same editor I tested too.
look at the photo from the upload folder (maybe you will have a different folder but it’s the same result)
-on the left what the post displays once published
-on the right when I edit it and I click on update
of course it is not possible to ask the user to reddit and update their posts twice …
an instruction must be missing for your plugin to understand what is going on and identify the forms
This might help you, I encountered the same problem with the watermark plugin
he can’t understand what’s going on outside the backend
so result uploads via my forms (probably all forms) are not renamed and watermarked
even if I choose Allowed all post types
]]>I used to be able to upload files with their original names.
But recently, files names automatically are changed after uploading to WP.
I do not know what and when happened to the uploading features.
Anyway, I would like to keep the original files as in the past.
Please help.
Hi
Is it possible to replace underscores with space ? Only the title of the image ?
]]>I have a problem with the CompressWP plugin, this plugin asynchronously optimizes the image automatically after a while. Ok, but since I also have the “File Renaming on Upload” plugin installed with the name option {postname}{datetime}
, every time the CompressWP plugin will compress an image randomly the plugin renames it causing the post image have another file name because I use the {datetime}
with seconds. So every time I upload an image it appears in the post, but after a few minutes compressWP will compress it and somehow its plugin renames it again changing the name for new minutes or seconds, which then in the post no longer exists the image.
Is there a way to prevent this plugin from renaming if the photo already exists ?
there is a conflict between File Renaming on Upload and CompressWP
]]>We are running a Buddyboss community and really needed a plugin to make sure each image got a unique names. And I was really happy to find this plugin and I thought it worked very well. BUT then it turned out that when this plugin was active no one could upload a profile photo anymore.
I’m guess the issue is that when you upload a profile photo in Buddyboss you crop the image in the process and the file name is changed by Buddyboss. And I guess that when that happens the image is lost due to having it’s filename changed.
So you should probably add some way to exclude profile photos from having the filenames changed because the profile photos do get their filenames changed by Buddyboss.
]]>I am trying the free version of the plugin to see if it would serve my purpose and so far something basic as adding the posttitle to the file name at upload time doesn’t work.
I have the rule set as {filename}{posttitle}
I have a photo gallery plugin that I use and can upload photos at the same time as creating a new gallery. This way, the files are being renamed where they are changed to lowercase and the _ is change to – so this is good, but the post title is never added to the filename.
I have tried doing this directly from the Media Gallery as well and the same occurres, the post title is never added to the file name.
Any help would be greatly appreciated.
Hello!! I need some help with an issue.
I am using the premium version of you plugin with gravity forms. Where people use a form on the front-end to upload media files for a design contest. I’m using the plugin to have the files renamed but all the post related filename structure rules aren’t working
For example, {siteurl}, {datetime} and {username} are working fine. But {posttitle} , {postid} and {tax:category} aren’t.
It’s odd because they were working before…
I’m also using a gravity perk called “Nested Forms”, so people can upload multiple entries a time to the form.
Is there any work around that can be done so these work again??
Would be very grateful for the help. Thanks!
Hey…
I’m sorry, but it appears that I broke the plugin with the insane, but valid filename:
?resund ???♀? + Lilleb?lt er #farvand ?? i ?h s? herlige Danmark! ?.jpg
Are you able to reproduce?
Kind regards
Bjarne