![]() |
Wordpress Auto Image Renamer?
Hey guys. I've been looking for a plugin for Wordpress that automatically renames the images you upload. I found one called Media File Renamer - which on top of not working seemed to brick my website and delete the images it tried to rename until I rolled back my server and database.
What I'm looking for is something that will rename the media files to whatever the title of the post is, and just add 01, 02, 03, etc after the images. I already have renaming software that I can do this with, but it'd save me a handful of steps to just have it done as the images are uploaded to WP. Does anyone know of any other WP plugins that do this? Preferably ones that you use yourself. I can search for and find similar plugins all day long but I'd like to hear from someone who has used one of them successfully. Thanks in advance, ~TT |
Hi, I've been looking into this myself, and it seems to me that the Wordpress uploader is something that is very difficult for plugin makers to hook with. To make things more complicated, the whole media workflow was overhauled in WP3.5 that just got out in December.
I'd love to have the functionality of automatically renaming, setting alt and title in bulk, and then tagging my photos with relevant tags (for later custom processing), all in the same window. So far, this seems impossible short of writing your own plugin. Unfortunately the WP3.5 media model is very complex and has practically no documentation so far. I've settled on this workflow: Rename the files on my computer using Bulk Rename Utility (just Google it), upload the files to a specific post, then look up the photos by post name and manage them using the "Media Library Assistant" plugin. I'm using custom code to write the alt & title attributes directly on the page. If you come up with something more practical, I'd love to know as well! Cheers, Enrique |
Hey, thanks for the reply.
I've pretty much got the same setup. The bulk renaming utility is a life saver. Being able to cut out that step though with wordpress automatically renaming it would be amazing. |
I'm currently setting up a system where all the photos uploaded to a post will not show up to the user, but the system will use some of them for automated tweets and maybe even Facebook posts... the last part's tricky since I heard they're very strict about not showing anything too suggestive on FB. The part that I didn't mention yet and that's still missing is automatic thumbnailing of the photos. For now just doing it on the computer. I'm actually going to open another thread about this...
|
Hi, finally decided to write my own plugin to rename files. I wasn't so much into renaming by post title but adding the blog name since my files already came with good names, well, my plugin now does both and is configurable. To rename the files by post title you have to type in the title first and upload the photos after, the plugin can be set to warn you if you try uploading to a post without a title. Let me know if you're interested!
|
Quote:
|
Tittytweaker: I've sent you a private message, drop me an email and I'll send you the file so you can test-drive it. The plugin's not hosted publicly anywhere yet.
|
Hey. Would it be possible for you to upload the files to megaupload or something so that I could download them like that? Seems every time someone sends me a file it all gets filtered through my spam inbox or I just plain never get it. Let me know :)
|
Hmm, I changed some privacy settings so we'll see if I'm able to receive them. I'll shoot you an e-mail momentarily. Do you have a site where you have used the plugin? If so could I see it?
|
Mail sent! All the info is in the email.
|
Hey, just installed it. Seems to work well, the only issue I'm having is right here:
http://www.tittytweaker.com/cristal-...tits/model018/ Instead of using the name of the image at the end of the URL it's using the original image name. The image itself is renamed, just not at the end of the URL. Any idea how to solve that? Edit: It looks like the plugin grabs the image title before the image has been renamed, I think that's what's doing it. Is there a way to change that in the settings or does that have to be modified within the plugin itself? |
Hi, thanks for the comments. I knew about the Title attribute issue, and mentioned it in the readme file, so you might say: "This is a feature, not a bug." :) But anyway, I'm looking into it right now, it's a little bit complicated since the title involves another filter completely, so it definitely involves tweaking the plugin. Please give me a couple of days more and we'll see what I come up with.
|
Quote:
Ah, I must have missed that. Sorry if I've been pestering you with it, I'm just excited to start putting the tool to work, it'll be a great improvement compared to what I'm used to doing. Let me know when you figure it all out. Thanks for all your hard work, ~TT |
I'd like to try the plugin as well if it's available. If it is, how would I go about getting it?
|
TittyTweaker: Mail sent, have a look. You can now configure it to write the title attribute as well, with or without numbering.
|
Hi. Everything on the page looks ok, but the URL still has the old filename after uploading. Any way to fix that as well?
|
Will you deposit it to the wordpress plugin database?
Could get you some nice linkbait :winkwink: |
Quote:
|
Quote:
The url is showing the -old- filename. http://www.tittytweaker.com/cristal-...rie/model01-2/ As you can see "model01-2" is at the end of the URL instead of "Cristal Matthews ? Black and Blue Lingerie 1" It shows up properly on the page, just not in the URL. |
Perhaps it's more accurate to say that the page the image is on still displays the old file name, on the attachment page URL. The direct link to the file has the correct filename. Should make sense when you click on the link.
|
Ok, thanks for pointing this out! I've never used attachment pages so I overlooked testing them. I'll look into this very soon.
|
Cool, thank you. And dude, you need to publicly release this soon, this is an -amazing- tool. I think it's safe to say you could make some serious cash with this :D
Again, thanks for all your hard work. |
I've updated the plugin. Tittytweaker, please check your mail.
|
If anyone else is interested, I've published the plugin on CodeCanyon.net. A quick summary of what it does:
Unfortunately the board doesn't allow me to post the link to download the file. So if you're interested, please go to CodeCanyon.net and search for "Easy Upload Renamer for WordPress"! -Enrique |
This is absolutely fantastic. I've been testing it and it works great. Again, thanks for all your hard work, this was exactly what I needed.
|
You're welcome, your feedback helped make the plugin useful for many people!
|
All times are GMT -7. The time now is 07:22 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc