How should I handle post thumbnails? Do most people put them in custom fields? Use a plugin? How do themes on ThemeForest handle this?
Also different theme will have different size requirements? So moving from 1 theme to the next could cause alot of problems?
Thumbnails may come in different sizes too
Since WordPress 2.9, you can add thumbnail support to your theme by adding this to the theme’s functions.php file:
When this is done, you’ll be able to add a feature image to your post on Posts, Pages or Custom Post Types. You’ll see the “Featured Image” box when creating a new post.
You can set the thumbnail size also in your functions.php file. You can use WordPress’ “thumbnail”, “medium” and “large” sizes, create your own or specify a size with pixels:
Example of how to use this new Post Thumbnail size in theme template files.
You should check Codex’s page on Post Thumbnails for more info. There you’ll also find how to style your thumbnails and more details on this code.
Thumbnail handling is basically combination of two factors – standards and meta information.
If you have control over content form the start it is easier to choose some method and stick with it. If you don’t have control or content predates post thumbnails it is more tricky. Personally I use Get The Image that is single wrapper to run multiple methods to fetch thumbnail (with your own callback if needed).