Conversation
supportHi! Is there a way to keep the original filename in the Title field when uploading a file, before the clean image plugin changes the filename? For exemple, I have this file : Album XYZ from artist ABC.mp3 Your plugin will change the filename to something like album-xyz-from-artist-abc.mp3, but I need to keep “Album XYZ from artist ABC” in the Title field. Thanks
Hi! I will look into this. I’m hoping to do some work on the plugin in January, and maybe I can add support for this then.
Hi @cameleweb For my needs I have created a very simple plugin that do what you want and more: – It autofill Title, Description and ALT fields with in a clean way. Exemple: Say you have this dirty image filename: ‘toi & Moi ! c’est L’été “sunny” ©company.jpg’ (Yes, it’s in French because I’m French and I my needs was to have a pretty filename but also all my Description, Title and ALT filed to be automatically fill.) So what are the results with my plugin: – image filename will change to : ‘toi-et-moi-c-est-l-ete-sunny-copyright-company.jpg’ – but Description, Title and ALT fieds will be filled with: ‘Toi & moi ! c’est l’été “sunny” ©company’ You can download it here if you want: https://www.pascal-bourhis.net/telechargements I made it quickly this morning and do not have the time to give more documentation about how you can modify it by your self, but I will, and maybe push it to WordPress repo. Thanks
Hi @cameleweb I have now added support for this in version 1.2. Thanks for your feedback!
Thanks!! I still have one problem… when there are single quote (‘) in a file name, I’ve got an HTTP error.
@cameleweb What happens to the upload if you disable the plugin? I’ve tried recreating this error myself but it’s working for me. This reply was modified 8 years, 3 months ago by Emil Gustafsson .
@cameleweb …and also, what is the filename before uploading?
This is an example : 2- Nul n’est comme toi – Jessica Dorsey.mp3 I disabled the plugin and got the same error.
Alright, if you get the same error when the plugin is disabled then the error is not related to the plugin. Maybe your browser is not very happy with the filename. I’m using Safari on a Mac and it’s working fine.
Ok, then I’ll search that particular error on Google. Thanks for you help!
Hi! I will look into this. I’m hoping to do some work on the plugin in January, and maybe I can add support for this then.
Hi @cameleweb For my needs I have created a very simple plugin that do what you want and more: – It autofill Title, Description and ALT fields with in a clean way. Exemple: Say you have this dirty image filename: ‘toi & Moi ! c’est L’été “sunny” ©company.jpg’ (Yes, it’s in French because I’m French and I my needs was to have a pretty filename but also all my Description, Title and ALT filed to be automatically fill.) So what are the results with my plugin: – image filename will change to : ‘toi-et-moi-c-est-l-ete-sunny-copyright-company.jpg’ – but Description, Title and ALT fieds will be filled with: ‘Toi & moi ! c’est l’été “sunny” ©company’ You can download it here if you want: https://www.pascal-bourhis.net/telechargements I made it quickly this morning and do not have the time to give more documentation about how you can modify it by your self, but I will, and maybe push it to WordPress repo. Thanks
Hi @cameleweb I have now added support for this in version 1.2. Thanks for your feedback!
Thanks!! I still have one problem… when there are single quote (‘) in a file name, I’ve got an HTTP error.
@cameleweb What happens to the upload if you disable the plugin? I’ve tried recreating this error myself but it’s working for me. This reply was modified 8 years, 3 months ago by Emil Gustafsson .
@cameleweb …and also, what is the filename before uploading?
This is an example : 2- Nul n’est comme toi – Jessica Dorsey.mp3 I disabled the plugin and got the same error.
Alright, if you get the same error when the plugin is disabled then the error is not related to the plugin. Maybe your browser is not very happy with the filename. I’m using Safari on a Mac and it’s working fine.
Ok, then I’ll search that particular error on Google. Thanks for you help!