40 comments found

  • Bought between 10 and 49 items
  • Has been a member for 4-5 years

Is there a way to force uploaded files names to use lower case names? ie. my from:

myblog-Post-Name-01.jpg

to:

myblog-post-name-01.jpg

for all files on upload?

P_Enrique

Hi, there currently isn’t a setting for that, sorry.

P_Enrique

(Just in case someone sees this and doesn’t have a look at the later comments: There is now a setting for lowercase!)

  • Bought between 10 and 49 items
  • Has been a member for 4-5 years

I noticed the plugin does not rename non-latin file names or file names including special characters to basic latin names causing failures to load images sometimes.

I think that all new file names should be converted to:

  • lower case
  • characters a-z and 1-0 allowed only

Do you think this could be added to the plugin as an option?

P_Enrique

Hello, you’re not the only one to notice this. In fact, it is mentioned on the FAQ. The failures with non-Latin characters are due to PHP incompatibilities with Windows filesystem character handling. Stripping away all non-ASCII characters would make things impossible with people running, let’s say, an Arabic or Russian blog. I’m looking into ways of solving this issue, please be patient.

Default-user

thanks for your reply and info, I understand it now. Thanks for your work on it!

P_Enrique

The updated plugin now converts everything possible to Latin characters and can be set to strip away everything that is not ASCII (a-z, 0-9).

  • Bought between 10 and 49 items
  • Has been a member for 4-5 years

I think there’s a small bug: I cannot upload images if jpgs’ file extension is in uppercase, ie filename.JPG. Upload endlessly continues but nothing happens. IMHO the files should be uploaded and renamed to lowercase (*.jpg instead of .JPG)

P_Enrique

Thanks for noticing! Patched version uploaded now, waiting for review and approval by CodeCanyon staff. Also, the lowercase conversion you suggested in another message is now included.

Default-user

wow! this is what I call the SUPPORT! thanks so much! waiting patiently :-)

  • Bought between 10 and 49 items
  • Has been a member for 1-2 years

Does this work using the media upload page itself?

P_Enrique

Yes, in the sense that the filename will get the “prepend string” added. But the post title renaming cannot be used, as there is no current post if you are uploading directly to the media library.

  • Bought between 1 and 9 items
  • Has been a member for 0-1 years
nidr0x Purchased

Hi,

Im awaiting your reply about the problem of formatting the names titles contains & or accents. Thanks

P_Enrique

Hello, this is a very complicated matter since it involves character encodings across various systems. What fixes the problem for one breaks it for someone else. I’m close to having a working solution, please hang on just a little bit more.

Default-user
nidr0x Purchased

Thanks Enrique, i await the update. Regards

Default-user
nidr0x Purchased

Enrique, any news about this? Thanks!

P_Enrique

Hello, this is the latest news: When setting up support for Unicode strings, I discovered a couple of bugs in the WordPress core that have to do with string handling. For instance, the “à” character would break any filename, and the standard “remove_accents” didn’t work on all accents. As we cannot wait for WordPress developers to fix everything overnight, I went another way and wrote some custom multibyte string handlers. So now, after 1133 lines of new code, I’m very pleased to say that the version 2.0 of the plugin is ready for prime-time. The update should be coming out in the next couple of days. Thanks for your patience!

P_Enrique

The update has been posted now for Envato review and approval.

Default-user
nidr0x Purchased

Thank you very much, Enrique.

  • Bought between 10 and 49 items
  • Europe
  • Has been a member for 3-4 years

My theme allows me to post and upload images from the frontend and it doesn’t use the native posing interface.
It is a image/videos based theme
I’m uploading a photo and then giving the post a title before saving it.
I believe your plugin wont work, isn’t it?
As I understand, the post needs the title before uploading the photo..?

P_Enrique

You’re right. The plugin intervenes in the upload process modifying the filename based on the title that is set at that moment.

  • Has been a member for 3-4 years

Will you add feature to make this plugin automatically change the image alt tag and title too?

P_Enrique

The plugin sets the title tag, and unless you manually set an alt tag, the title is automatically used by WordPress as the alt tag.

  • Bought between 10 and 49 items
  • Has been a member for 1-2 years

Getting error message:

Fatal error: Declaration of Enrique_MB_String::substr() must be compatible with that of Enrique_String_Handler::substr() in /home1/xxxxx/public_html/mydomain.com/wp-content/plugins/easy-upload-2.0/lib/mb-string.php on line 38

P_Enrique

Hello, sorry about that. This is due to a PHP version 5.2 issue. I’ve uploaded a patched version of the plugin. At the same time, I recommend asking your host to update their version of PHP on the server, since PHP 5.2 has come to its end of life in January 2011.

Default-user

Where to download patched version to get it working with php 5.2 ?

P_Enrique

Sorry I wasn’t clear. The patch will appear on the plugin page once my upload has been approved by CodeCanyon staff. You should get an email telling you about this.

Default-user

Any update from codecanyon staff ?

P_Enrique

Yes, the update is there. You can download it on the product page: http://codecanyon.net/item/easy-upload-renamer-for-wordpress/3980070

Default-user

Again got the error:

Fatal error: Declaration of Enrique_MB_String::remove_non_alphanum() must be compatible with that of Enrique_String_Handler::remove_non_alphanum() in /home1/xxxx/public_html/xxxxxx.com/wp-content/plugins/codecanyon-3980070-easy-upload-renamer-for-wordpress/lib/mb-string.php on line 38

P_Enrique

Sorry about that, the bug appeared in two places and I only noticed one at first. I fixed the second one now and double-checked that there aren’t any more of these instances. I have uploaded a patched version. You should get an email when it is approved.

You can try a quick fix yourself, if you are comfortable editing PHP files yourself. Unzip the contents of your downloaded ZIP file to a directory on your computer. Locate the file ‘interface-string-handler.php’ in the ‘lib’ directory. On line 93, replace this:

public function remove_non_alphanum( $str, $replace_char, $exceptions);


with this:

public function remove_non_alphanum( $str, $replace_char = '', $exceptions = '' );


Then upload the plugin to the appropriate directory on your server using your FTP program.

Default-user

still getting error message after replacing the line.

Fatal error: Declaration of Enrique_MB_String::substr() must be compatible with that of Enrique_String_Handler::substr() in /home1/xxxxxx/public_html/xxxxx.com/wp-content/plugins/easy-upload/lib/mb-string.php on line 38

P_Enrique

Hello, sorry once again for that. This problem has been fixed in the patched version that is available for download on the plugin page. Please download the latest version from there!

  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 10 and 49 users

Hi Enrique,

Your plugin works great for our blogposts but we also have a product database where the product photos need to have the productnumber (which is not the post title but a meta key) as the filename.

Can I exclude a custom post type from changing the filename?

P_Enrique

Hi, that’s a great idea. I’ve added that feature and uploaded an updated version (2.1.0) of the plugin. On the Settings > Media page, just uncheck the post types you don’t want included in the renaming. By default, they’re all checked.

You should get an email once CodeCanyon staff approves my upload. I wish you all the best with your work!

Default-user

It works brilliantly! Thanks for the quick implementation of this feature!

P_Enrique

I’m glad it works for you! I’d be happy to get more stars for my plugin, so I’d be grateful for a rating. Linking to my plugin make me very happy also!

  • Bought between 1 and 9 items
  • Has been a member for 1-2 years

Im using the autoblog plugin -http://premium.wpmudev.org/project/autoblog/

It think both plugins are not compatible togheter

P_Enrique

Hello, I had a quick look at the autoblog plugin. In my understanding that plugin only imports content from feeds. The imported posts only contain links to the original files on the original server. In this case, there can be no renaming taking place, since no files are uploaded to your server. The Easy Upload Renamer only intervenes on the upload process when you are uploading files to your server.

  • Bought between 1 and 9 items
  • Has been a member for 0-1 years

Can this plugin works together with lazy post plugin (codecanyon.net/item/lazy-post-plugin/6512448)? Is EUR compatible with multisite enabled?

*the EUR plugin will be much better if we can add image titles (or alt) by categories, tags etc… by and contaminating it f.e. tag posttitle etc… then will be full seo for images sollution.

P_Enrique

Hi, thanks for your comment. Here are some answers to your questions:

1) I don’t know about the Laxy Post plugin. You’d have to ask the author of that plugin. If the files created by Lazy Post go through wp_handle_upload(), they’ll enter the renaming process. If there is a post_id available in the _REQUEST, title renaming will kick in, otherwise title renaming is not available.

2) Yes, it’s compatible with multisite.

3) Do I understand correctly that you’d like to add post taxonomy terms (categories, tags) to the file name? That’s an intesting idea.

Default-user

Thanks for your answer. I sent you pm

  • Bought between 1 and 9 items
  • Has been a member for 1-2 years

Can you make a option that we rename image with tags instead title ? please. this option will be good for SEO and should skyrocket your plugin

P_Enrique

Thanks for the suggestion. So if you have a post tagged with “banana, apple, pear”, you’d like the filename to be “banana-apple-pear.jpg”? Or rather “this-is-the-post-title-banana-apple-pear.jpg”? This has the potential to become messy if there are many tags. How would you suggest the plugin choose which tags to use? What about categories? Other taxonomies? I’m all for the idea, but I think we need to think it through before implementing.

Default-user

Sure. What will be good is get both options and let people choose. In my case I’ll only use tags for seo. My titles already have the tags in it. If you use titles and tags there will be a lot of duplicate words.

Also I think tags are more accurate than titles because in tags we don’t use keywords like “the” “a” “in” ... In terms of seo those are bad keywords and they are often in our titles

Thank you for fast resposnse

P_Enrique

Hello, I’ve been thinking about this feature and I thank you for your thoughts and ideas. I’m very much open to ideas that would make the Easy Upload Renamer plugin more useful to people.

Now one thing that gives me doubts about the tag renaming is this: Since my plugin only changes the file name on upload, if you don’t have tags or categories set on your post at the moment of upload, they wouldn’t be set at the moment of upload. And then, if you add or change them afterwards, the files would have to renamed again so the filename would match the new taxonomy terms.

I’m afraid that adding tags to the filename would only cause disappointment to users if the tags in the filename are not updated when the file is. But modifying the existing attachment filenames of a post (finding them, renaming the files, modifying the database data, rewriting the links and images in post content, taking care of the different thumbnail sizes) is a completely different ballgame of what the plugin is doing right now, so I’m not quite decided on this yet.

On the other hand, removing a blacklist of words such as “a”, “an”, “the”, “do”, “does” etc. from the filenames would not be too complicated to put in.

Let’s keep the conversation going and see where this leads us!

-Enrique

Default-user

nice so can you ad this function tho

  • Exclusive Author
  • Has been a member for 5-6 years
  • Bought between 100 and 499 items
  • Germany

perfect tool!

only one thing is missing: the watermark / stamp on upload! (feature request)

P_Enrique

Hello, thanks for your suggestion. This is something that I’ve been thinking about, but my current feeling is that people who want watermarking probably have some other plugin for that.

  • Bought between 1 and 9 items
  • Has been a member for 0-1 years

@bondigoro69 Its nice to see someone thinks on similar way. I agree that option tags instead of titles should be optional and let us choose what will use. .question. If I disable or delete plugin does images names, titles, alt.. stay optimized or I need to keep plugin active?

P_Enrique

Hello,

To answer your question: The plugin gives automatically a new name to the uploaded file, and sets the attachment title attribute (that is used as the image ALT attribute, unless you set another one). These are then accessible to WordPress just as if you had put them in yourself. Disabling or deleting the plugin does not remove any of these.

I wrote a reply to bondigor69’s comments, please feel free to add in your thoughts in that thread.

-Enrique

Default-user

Is this option added: “On the other hand, removing a blacklist of words such as “a”, “an”, “the”, “do”, “does” etc. from the filenames would not be too complicated to put in”? So we will get: Post title f.e. The Great Plugin To Buy img file: great-plugin-buy image title and alt: great plugin buy ; or even better if img title is same as post title and alt great plugin buy Am I right?

  • Bought between 10 and 49 items
  • Has been a member for 1-2 years

Hi Enrique, first of all, great plugin. Could you add the possibility to automatically match the ALT field to the attachment title? I know the attachment title is supposed to also work as a “default” alt attribute, but in my personal tests rankings tend to be higher when both fields are filled in.

Cheers! Andrei

P_Enrique

Hello, thanks for your message and sorry for the delay in answering. I’m confused about what the difference is here, since when the attachment title is set and no alt attribute is set, the resulting HTML is <img src=”src” alt=”attachment title here” /> so it’s fundamentally the same. That being said, I may have some ideas in the future about selecting different file name components available and mapping them to different fields.

  • Bought between 10 and 49 items
  • Has been a member for 0-1 years
  • Russian Federation

Is it possible to use for the file name post-name and not post-title, and attributes for images to use post-title? We post-title in Cyrillic and it is not very good looks in the file names. I managed to change the php so that it uses post-name, but he uses it for pictures attributes and the attributes I would like to leave a post-title.

P_Enrique

Hello, if your server supports UTF-8 filenames so you can have a filename in Cyrillic letters, I recommend you leave your filenames in Cyrillic. There is a fallback in the system which uses the post_name if the post_title cannot be used, but the problem is that the post_name is only available for published posts. If you want transliteration to Latin letters, I recommend the Cyr to Lat enhanced plugin: http://wordpress.org/plugins/cyr3lat/

Default-user

Yes, we use a plugin for transliteration. With it, we just out post_title Cyrillic transliteration post_name obtain. Yes, I understand that the record should be published, for us it is not a problem. We can not leave the file names in Cyrillic because the site will have the English version with the visitors do not understand the Cyrillic characters. So if you will not be difficult to tell how to change post-name.

  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 1-2 years
  • United States

I need some help. Maybe you can help me.

I am thinking about buying this plugin, but can you tell me something first.

My site is http://RpmCity.com.

It has front-end posting. Can this work:

1. Someone puts title on front end post form. 2. Someone adds a image location from “BROWSE” 3. Someone submits the post. During this process, will the plugin detect the title being created and change the image all within that one click?

I want my images to be optimized when they are uploaded.

I can pay for this modification if necessary. Can you check http://RpmCity.com and tell me what you think?

Thank you so much!

  • Bought between 50 and 99 items
  • Has been a member for 5-6 years
  • Brazil

hi, is there a way to Rename the files AFTER has been uploaded? Maybe in the Media Admin Screen?

  • Bought between 100 and 499 items
  • Has been a member for 3-4 years

Hello, I use a plugin that resizes images upon upload (imsanity). This would cause a conflict with your plugin? A hinder the other?

Characters such as ç would be replaced by c, and accents ’~, ^, ´`etc` would be deleted?

Sequentially number all images?

P_Enrique

Hi, thanks for your question. 1) I’m not aware of any problems in such a case. 2) Yes, that is what happens with characters and accents. 3) Yes.

Default-user

Your plugiin creates títile and alt text. Is it?

Caption and description is not relevant for SEO?

P_Enrique

The plugin sets the filename based on the post title. You can choose an option to set the “Attachment Title” property to be the same as the post title (with numbers, optionally). The “Attachment Title” property is used as the ALT text, unless you manually specify some other text.

This plugin doesn’t do anything with the “Caption” and “Description” fields. From SEO point of view, repeating the same text that’s in the ALT property would make no difference, in my understanding.

  • Bought between 100 and 499 items
  • Has been a member for 3-4 years
ayron Purchased

Ok, I’m convinced. Bought. :)

Alt Text appear empty unfilled. Can you help me?

P_Enrique

That’s so you can fill it in. If you don’t put anything, WordPress automatically uses the “Title” as the ALT attribute. Just leave it empty, publish the photo, and take a look at the HTML source.

by
by
by
by
by
by