Image Sizes for Featured Images Only
Whenever you add extra image sizes to your theme all of your newly uploaded images gets resized with the new sizes.
I suggest that you give theme authors the option to choose that "this size is only for featured images". So whenever you upload an image it wont get resized to this "featured image" size. But when you choose to set it as a featured image in one of your posts it gets resized to that "featured image" size.
This way you can save too much space. especially if your website have too many images and you only use part of them as featured images.
Excellent idea, i think it could save me a lot of space that way !
It will also mean that if you use old thumbnails in a new theme with different sizes the new sizes will be fixed automatically and you won't need to regenerate your entire library.
This will save me too much effort as i have websites with 22000+ image in the library!
i may attempt to write a function that does this. i think all the necessary hooks are present, just a matter of getting them all put together. maybe creating a function will help integrate into core..?
whooo! here we go...
will not be providing support; code is tested on my local machine, and provided as-is. there are of course better ways of implementing, but this is what i was able to come up with quickly.
Well, your plugin inspired me to create something.
This solves half of the problem (images will get re-sized when you choose them as featured), it's handy when you switch themes.
The other half is to save space when it's not needed. Would be better if integrated into core.
RSS feed for this topic
You must log in to post.