Creating a thumbnail from an image already on the server?

Looking at your code, it looks like the file wil be looked for in …/wp-content/uploads/bill.jpeg. You’ll need to include the yyyy/mm as well. I would use this: require_once(ABSPATH . ‘/wp-admin/includes/media.php’); require_once(ABSPATH . ‘/wp-admin/includes/image.php’); $file=”http://www.mysite.org/uploads/uploaddir/2012/02/bill.jpeg”; # Function reference # image_resize ( $file, $max_w, $max_h, $crop = false, $suffix = null, $dest_path = null, $jpeg_quality = 90 … Read more

Grab remote images and update links in existing posts

I’ve found that the plugin Cache Images works very well for this. You can scan your entire site and bring over all the images so they’re local: http://wordpress.org/extend/plugins/cache-images/ You may want to install Smush.it before you bring over your images if you want to reduce their file size at the same time you make the … Read more

How to use photo in multiple posts?

Probably the right solution is to find what filter is being used and seeing if it’s possible to disable it. Another: ask the theme author and share the solution here (if answered). Otherwise, try one of this plugins and see if they override this behavior: Image Pro Faster Image Insert

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

Big Image on Featured Post, Normal on Single Post

You can show featured images at multiple sizes easily enough, by specifying the size of image when you make the call, but if you want them to be different you can use the code in this plugin: http://wordpress.org/extend/plugins/multiple-featured-images/ Here’s a tutorial: http://lifeonlars.com/wordpress/how-to-add-multiple-featured-images-in-wordpress/ e.g. Example registration: if (class_exists(‘MultiPostThumbnails’) { if (MultiPostThumbnails::has_post_thumbnail(‘folio’, ‘feature-image-2’)) { MultiPostThumbnails::the_post_thumbnail(‘folio’, ‘feature-image-2’); } … Read more