Add multiple images to author profile page

You can use this for an author photo: http://wordpress.org/extend/plugins/user-photo/ And this one might give you multiple images for the author: http://wordpress.org/extend/plugins/sem-author-image/ The final approach is to use a gallery plugin of some kind (NexGen Gallery Perhapse?) and create an album for each author, labeling it “John Doe”. Then, call the gallery in the authors.php file … Read more

Show full image thumbnail

These are two different things: How can I set full image thumbnail on category pages vs Image should be small in dimensions but not been cropped. In order to display the full-size image thumbnail, use: <?php the_post_thumbnail( ‘full’ ); ?> In order to display a box-resized, rather than hard-cropped, image, you need to tell WordPress … Read more

Different image sizes for home and post pages

If your talking about the images that are written into $post->post_content (the_content()) you’ll either need to write a filter that strips out all images and replaces them with the smaller version. Or you could just use CSS. For CSS make sure you have body_class() in your body tag then you can localise a maxwidth to … Read more

Custom Image Thumbnails of Different Sizes

Add this code to your functions.php if(function_exists(‘add_theme_support’)) add_theme_support(‘post-thumbnails’); // Set the thumbnail size add_image_size(‘custom_logo’, 200, 200, true ); add_image_size(‘custom_website_thumb’, 450, 200, true ); add_image_size(‘custom_print_ad_thumb’, 200, 400, true ); Put this in your post template where you want to see the image. <?php echo get_the_post_thumbnail($post_id, ‘custom_logo’); ?> You can also wrap it in a link like … Read more

Combining media queries with image sizes

First off, kudos to this pretty cool solution. I think you’re on the right track and not sure how much more you could do. You could certainly replicate the above with PHP & CSS, thus not requiring jQuery. It would require you to have an array of your sizes and just loop through them. This … Read more

Disable image resizing on specific upload fields

WordPress will always create the additional images for “thumbnail”, “medium” and “large” sizes. The options panel doesn’t add an additional size- it just resizes the one you’ve selected using CSS. If you want to override that CSS you can hook in an additional stylesheet that will override the id on that option.