GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Webmaster Q & Fuckin' A (https://gfy.com/forumdisplay.php?f=27)
-   -   Wordpress Auto Image Renamer? (https://gfy.com/showthread.php?t=1097471)

Tittytweaker 01-24-2013 10:33 AM

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

P. Enrique 01-25-2013 11:21 AM

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

Tittytweaker 01-25-2013 01:21 PM

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.

P. Enrique 01-25-2013 09:24 PM

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

P. Enrique 02-04-2013 03:37 PM

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!

Tittytweaker 02-04-2013 04:45 PM

Quote:

Originally Posted by P. Enrique (Post 19464400)
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!

Hey! Awesome to hear! I'm very interested. Where can the plugin be found?

P. Enrique 02-06-2013 12:57 AM

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.

Tittytweaker 02-06-2013 08:17 AM

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 :)

Tittytweaker 02-06-2013 12:54 PM

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?

P. Enrique 02-06-2013 03:02 PM

Mail sent! All the info is in the email.

Tittytweaker 02-06-2013 03:56 PM

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?

P. Enrique 02-08-2013 02:29 PM

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.

Tittytweaker 02-08-2013 04:21 PM

Quote:

Originally Posted by P. Enrique (Post 19471313)
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.


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

NaughtyObserver 02-10-2013 05:12 PM

I'd like to try the plugin as well if it's available. If it is, how would I go about getting it?

P. Enrique 02-13-2013 10:34 PM

TittyTweaker: Mail sent, have a look. You can now configure it to write the title attribute as well, with or without numbering.

Tittytweaker 02-14-2013 01:45 PM

Hi. Everything on the page looks ok, but the URL still has the old filename after uploading. Any way to fix that as well?

tokmansta 02-14-2013 09:07 PM

Will you deposit it to the wordpress plugin database?
Could get you some nice linkbait :winkwink:

P. Enrique 02-14-2013 09:56 PM

Quote:

Originally Posted by Tittytweaker (Post 19481325)
Hi. Everything on the page looks ok, but the URL still has the old filename after uploading. Any way to fix that as well?

Hi, I'm sorry I don't know what you mean. Which URL are you talking about? If the image was renamed and is showing on the page, its URL necessarily contains the new filename, otherwise it would point to nothing and you'd get nothing but the broken image placeholder showing on the page.

Tittytweaker 02-15-2013 07:42 AM

Quote:

Originally Posted by P. Enrique (Post 19481927)
Hi, I'm sorry I don't know what you mean. Which URL are you talking about? If the image was renamed and is showing on the page, its URL necessarily contains the new filename, otherwise it would point to nothing and you'd get nothing but the broken image placeholder showing on the page.


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.

Tittytweaker 02-15-2013 08:03 AM

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.

P. Enrique 02-15-2013 11:51 AM

Ok, thanks for pointing this out! I've never used attachment pages so I overlooked testing them. I'll look into this very soon.

Tittytweaker 02-15-2013 12:59 PM

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.

P. Enrique 02-17-2013 06:29 PM

I've updated the plugin. Tittytweaker, please check your mail.

P. Enrique 02-17-2013 06:35 PM

If anyone else is interested, I've published the plugin on CodeCanyon.net. A quick summary of what it does:
  • Automatically rename your media files and attachments as you upload them to WordPress.
  • Choose between renaming images only or renaming all uploaded files.
  • Add your blog name or some other text to all your uploaded file names.
  • You can choose to automatically set the attachment title attribute to match the new file name.

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

Tittytweaker 02-18-2013 06:28 PM

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.

P. Enrique 02-19-2013 07:35 PM

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