Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Regenerate post thumbnails #17
My site is at: http://www.sidewalkstv.com/web.
Why are you regenerating your thumbnails? Are you changing the size that arras uses?
I posted this comment on the arras forum when I was making the change but didn't get any feedback. What are your thoughts?
Thanks for writing back. Great plug-in BTW!
I thought these themes would automatically regenerate every once in a while or you should do so from time to time to make sure everything is working. I manually tried the regenerate feature yesterday. Then, I noticed everything reverted back to its original state.
I would think once you change (crop) the thumbnail/images, you usually want it to be the same each time ~ cropped correctly. The whole concept in the first place is to save what you did vs. what WP does. The WP thumbnail version really sucks and crops only in the middle, which is usually off. Additionally, I still don't understand their change of image feature, which to me only changes in the media library and NOT on the public side.
I think it would be fantastic if your plugin had a way to keep the image cropped every time. Overwrite the previous thumbnail. This way, if you change themes or regenerate Arras, at least you have the image in the way you wanted. Not everything is in the middle of the image and your thumbnails look off.
I'm still new to the whole WP thing, so I'm not sure how everything is saved...and I don't how hard it is to do these codes.
Oh well, then your custom thumbnails couldn't have been regenerated anyways... Well not easily.
I could save the original crop dimensions for the modified thumbnails and using that plus the new width and height of the crop, I could probably figure out some sort of a calculation to regenerate it with some caveats. (It might not be perfect or in the exact place that it was previously).
Would reviewing the regenerated images after they are created be needed?
in my opinion there's no need to make this plugin remember what was manually cropped.
For example when you switch themes and you regenerate thumbnails to fit new dimensions and maybe new aspect ratios it wouldnt fit even if plugin remembered manual cropping.
when you have image lets say 200x300px and your post-thumb was 100x100 before and in new theme is 150x100 cropping from last theme will not look good in the new theme so i would have to recrop it manually again.
and thats why this requested feature is not really necessary.
then dont use regenerate thumbnails and try this plugin: http://wordpress.org/extend/plugins/ajax-thumbnail-rebuild/
so for example post-thumbnail can be left intacted
noticed in 07/2014: this AJAX thumb rebuild plugin creates full url path for image sizes in wp_postmeta (it shouldnt be there) - i dont recommend using it on big sites, i had real trouble changing it back for each image (around 17k rows)