sewpafly / post-thumbnail-editor

Wordpress Plugin to manually edit post thumbnails
http://wordpress.org/extend/plugins/post-thumbnail-editor/
32 stars 18 forks source link

Create/copy a cropped image with new name and keep old one? #119

Open TheBlackRoom opened 8 years ago

TheBlackRoom commented 8 years ago

Hi, found your great plugin today but what I'm finding is I want to keep the original image and it's thumbnails as they are, and create a whole new set of cropped variations.

So, for example, on a page I could have one non-cropped image showing and then a cropped close-up of a detail next to it.

I see the timestamp renaming feature, but the old image variation gets deleted if I use that, I basically want to keep it.

You mentioned in a similar question from March that line 608 of php/functions.php could be disabled //@unlink( apply_filters( 'wp_delete_file', $old_file ) ); - but that was when the person wanted to overwrite with the original file name.

Maybe that's what the Cache Buster option is in settings that you mentioned you might be able to implement? The timestamp idea sort of solves my problem (and caching issues if the image has already been used), but I want to create whole new ones cropped just right to use as well.

Is there anyway to do that?

Also, I'm already missing the Cache Buster option not being available in the actual cropping interface because sometimes I'd like to be able to make the renaming decision at upload time (perhaps before it's used anywhere) and would want to avoid changing or adding to naming confusion. Additionally, maybe the option to add our own extra text instead of the timestamp would also help keep things more findable and understandable in future, so, e.g. I could add "closeup1" instead of the timestamp.

Hope that's making sense. What doesn't make sense is how bad WP itself is at doing what your plugin does so nicely.

Great work by the way! Appreciating what it can do already.