Single post layout based on featured image size

The problem there is that the WP uploader will automatically resize any image you upload to all your specified image sizes, providing the original is larger than the specified size. Relying on uploading an image between two specific sizes is a very flimsy mechanism for dictating layout. What is actually different about the content of … Read more

Archive show thumbnail

You can check if the post as a thumbnail and if not the get the first image in the post ex: <?php $size=”thumbnail”; if ( has_post_thumbnail() ) { ?> <a href=”https://wordpress.stackexchange.com/questions/58503/<?php the_permalink(); ?>” title=”<?php the_title_attribute(); ?>” > <?php the_post_thumbnail($size, array(‘class’ => ‘alignleft’)); ?> <?php } else { $attachments = get_children( array( ‘post_parent’ => get_the_ID(), ‘post_status’ … Read more

offload media to external services [closed]

You can check out the following plugins that use an external storage for media. Some of them supposedly use the build in media (S3), while other simply allow you to use the storage in your post (azure) via a button. http://wordpress.org/extend/plugins/windows-azure-storage/ , yes Microsoft wrote this plugin. http://wordpress.org/extend/plugins/tantan-s3-cloudfront/ Amazon S3 for WordPress. http://wordpress.org/extend/plugins/cdn-sync-tool/ Several services(cloudfiles, … Read more